Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoundRobin ¶
RoundRobin balances requests between its upstreams one by one.
func (*RoundRobin) Get ¶
func (rr *RoundRobin) Get(path string) (*types.UpstreamAddress, error)
Get implements the balancing algorithm interface.
func (*RoundRobin) Set ¶
func (rr *RoundRobin) Set(buckets []*types.UpstreamAddress)
Set implements the balancing algorithm interface.
Click to show internal directories.
Click to hide internal directories.