Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBalancerBuilder ¶
NewBalancerBuilder returns a base balancer builder configured by the provided config.
Types ¶
type PickerBuildInfo ¶
type PickerBuildInfo struct { // ReadySCs is a map from all ready SubConns to the Addresses can be used. ReadySCs map[balancer.SubConn]base.SubConnInfo // UnReadySCs is a map from all unready SubConns to the Addresses can be used. UnReadySCs map[balancer.SubConn]base.SubConnInfo }
type PickerBuilder ¶
type PickerBuilder interface { // Build returns a picker that will be used by gRPC to pick a SubConn. Build(info PickerBuildInfo) balancer.Picker }
PickerBuilder creates balancer.Picker.
Click to show internal directories.
Click to hide internal directories.