Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalancerBuilder ¶
type BalancerBuilder struct {
Filter loadbalance.Filter
}
func (*BalancerBuilder) Build ¶
func (b *BalancerBuilder) Build(info base.PickerBuildInfo) balancer.Picker
type WeightBalancer ¶
type WeightBalancer struct {
// contains filtered or unexported fields
}
func (*WeightBalancer) Pick ¶
func (b *WeightBalancer) Pick(info balancer.PickInfo) (balancer.PickResult, error)
type WeightBalancerBuilder ¶
type WeightBalancerBuilder struct {
Filter loadbalance.Filter
}
func (*WeightBalancerBuilder) Build ¶
func (b *WeightBalancerBuilder) Build(info base.PickerBuildInfo) balancer.Picker
Click to show internal directories.
Click to hide internal directories.