Documentation ¶ Index ¶ func Register(router route.Router, b tBalancer.Balancer) type Builder func (b *Builder) Build(info base.PickerBuildInfo) balancer.Picker type Picker func (p *Picker) Pick(info balancer.PickInfo) (balancer.PickResult, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Register ¶ func Register(router route.Router, b tBalancer.Balancer) Register register balancer builder if nil. Types ¶ type Builder ¶ type Builder struct { // contains filtered or unexported fields } func (*Builder) Build ¶ func (b *Builder) Build(info base.PickerBuildInfo) balancer.Picker type Picker ¶ type Picker struct { // contains filtered or unexported fields } func (*Picker) Pick ¶ func (p *Picker) Pick(info balancer.PickInfo) (balancer.PickResult, error) Pick pick instances Source Files ¶ View all Source files multi.go Click to show internal directories. Click to hide internal directories.