Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rendezvous ¶
Rendezvous implements upstream balancing that is based on the Rendezvous (a.k.a Highest Random Weight - HRW) hashing algorithm.
func (*Rendezvous) Get ¶
func (r *Rendezvous) Get(path string) (*types.UpstreamAddress, error)
Get implements the balancing algorithm interface.
func (*Rendezvous) Set ¶
func (r *Rendezvous) Set(newBuckets []*types.UpstreamAddress)
Set implements the balancing algorithm interface.
Click to show internal directories.
Click to hide internal directories.