func init() { … }
var logger …
const Name …
const logPrefix …
type pickfirstBuilder …
func (pickfirstBuilder) Build(cc balancer.ClientConn, opt balancer.BuildOptions) balancer.Balancer { … }
func (pickfirstBuilder) Name() string { … }
type pfConfig …
func (pickfirstBuilder) ParseConfig(js json.RawMessage) (serviceconfig.LoadBalancingConfig, error) { … }
type pickfirstBalancer …
func (b *pickfirstBalancer) ResolverError(err error) { … }
type Shuffler …
func ShuffleAddressListForTesting(n int, swap func(i, j int)) { … }
func (b *pickfirstBalancer) UpdateClientConnState(state balancer.ClientConnState) error { … }
func (b *pickfirstBalancer) UpdateSubConnState(subConn balancer.SubConn, state balancer.SubConnState) { … }
func (b *pickfirstBalancer) updateSubConnState(subConn balancer.SubConn, state balancer.SubConnState) { … }
func (b *pickfirstBalancer) Close() { … }
func (b *pickfirstBalancer) ExitIdle() { … }
type picker …
func (p *picker) Pick(balancer.PickInfo) (balancer.PickResult, error) { … }
type idlePicker …
func (i *idlePicker) Pick(balancer.PickInfo) (balancer.PickResult, error) { … }