Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsistentHashing ¶
func NewConsistentHashing ¶
func NewConsistentHashing() *ConsistentHashing
func (*ConsistentHashing) AddNode ¶
func (c *ConsistentHashing) AddNode(node Node)
func (*ConsistentHashing) GetNode ¶
func (c *ConsistentHashing) GetNode(key string) Node
func (*ConsistentHashing) RebalanceNodes ¶
func (c *ConsistentHashing) RebalanceNodes()
func (*ConsistentHashing) RemoveNode ¶
func (c *ConsistentHashing) RemoveNode(node Node)
type IConsistentHashing ¶
Click to show internal directories.
Click to hide internal directories.