Versions in this module Expand all Collapse all v0 v0.6.1 Jul 31, 2023 v0.0.4 Jul 31, 2023 Changes in this version + func Dump() interface + type Balancer struct + func (bl *Balancer) GetPicker() loadbalance.Picker + func (bl *Balancer) GetResult() (res discovery.Result, ok bool) + func (bl *Balancer) Refresh() + func (bl *Balancer) Tick() + type BalancerFactory struct + func NewBalancerFactory(resolver discovery.Resolver, balancer loadbalance.Loadbalancer, opts Options) *BalancerFactory + func (b *BalancerFactory) Get(ctx context.Context, target rpcinfo.EndpointInfo) (*Balancer, error) + type Hookable interface + DeregisterDeleteHook func(index int) + DeregisterRebalanceHook func(index int) + RegisterDeleteHook func(func(ch *discovery.Change)) (index int) + RegisterRebalanceHook func(func(ch *discovery.Change)) (index int) + type Options struct + Cacheable bool + DiagnosisService diagnosis.Service + ExpireInterval time.Duration + RefreshInterval time.Duration