Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBalancer ¶
Types ¶
type BalancerMgr ¶
type BalancerMgr struct {
// contains filtered or unexported fields
}
var Mgr *BalancerMgr = &BalancerMgr{ allBalancer: make(map[string]Balancer, 0), }
func (*BalancerMgr) RegisterBalancer ¶
func (p *BalancerMgr) RegisterBalancer(name string, b Balancer)
type Instance ¶
func (*Instance) NewInstance ¶
type RandomBalancer ¶
type RandomBalancer struct { }
type RoundBalancer ¶
type RoundBalancer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.