pickfirst
v1.85.0
google.golang.org/grpc/balancer/pickfirst
Documentation
pkg.go.dev ↗Package pickfirst contains the pick_first load balancing policy which is the universal leaf policy.
Constants
Name
const Name = "pick_first"
Name is the name of the pick_first balancer.
Functions
EnableHealthListener
func EnableHealthListener(state resolver.State) resolver.State
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.