package pickfirst
import "google.golang.org/grpc/balancer/pickfirst"
Package pickfirst contains the pick_first load balancing policy which is the universal leaf policy.
Index ¶
Constants ¶
const Name = "pick_first"
Name is the name of the pick_first balancer.
Functions ¶
func EnableHealthListener ¶
EnableHealthListener updates the state to configure pickfirst for using a generic health listener.
Experimental
Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.
Source Files ¶
pickfirst.go
Directories ¶
| Path | Synopsis |
|---|---|
| balancer/pickfirst/internal | Package internal contains code internal to the pickfirst package. |
| balancer/pickfirst/pickfirstleaf | Package pickfirstleaf contains the pick_first load balancing policy which will be the universal leaf policy after dualstack changes are implemented. |
- Version
- v1.79.0-dev
- Published
- Dec 11, 2025
- Platform
- js/wasm
- Imports
- 16 packages
- Last checked
- 36 minutes ago –
Tools for package owners.