Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct {
// contains filtered or unexported fields
}
Balancer is a load balancer that picks the least active connection.
type BalancerBuilder ¶
type BalancerBuilder struct {
Filter loadbalance.Filter
}
BalancerBuilder constructs a new Balancer.
func (*BalancerBuilder) Build ¶
func (b *BalancerBuilder) Build(info base.PickerBuildInfo) balancer.Picker
Build creates a new Balancer.
Click to show internal directories.
Click to hide internal directories.