Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRingHash ¶
func NewRingHash(config model.ConsistentHash, endpoints []*model.Endpoint) model.LbConsistentHash
Types ¶
type RingHashing ¶
type RingHashing struct{}
func (RingHashing) Handler ¶
func (r RingHashing) Handler(c *model.ClusterConfig, policy model.LbPolicy) *model.Endpoint
Click to show internal directories.
Click to hide internal directories.