Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoneAvailable = errors.New("none available")
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct {
// contains filtered or unexported fields
}
func (*Balancer) Name ¶
func (b *Balancer) Name() middlewares.HandlerName
type RoundRobin ¶
type RoundRobin struct {
// contains filtered or unexported fields
}
func NewRoundRobin ¶
func NewRoundRobin() *RoundRobin
func (*RoundRobin) List ¶
func (r *RoundRobin) List() []*Node
func (*RoundRobin) Next ¶
func (r *RoundRobin) Next() (*Node, error)
func (*RoundRobin) Update ¶
func (r *RoundRobin) Update(add bool, node *Node)
Click to show internal directories.
Click to hide internal directories.