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
}
func NewBalancer ¶
func NewBalancer() *Balancer
func (*Balancer) AddServer ¶
func (b *Balancer) AddServer(item *netmanager.ServerNet)
func (Balancer) LoadBalance ¶
func (*Balancer) SelectRandom ¶
func (b *Balancer) SelectRandom() *netmanager.ServerNet
type UpstreamList ¶
type UpstreamList []*netmanager.ServerNet
Click to show internal directories.
Click to hide internal directories.