Documentation ¶
Index ¶
Constants ¶
View Source
const VirtualNodesFactor = 256
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsistentHash ¶
func NewConsistentHash ¶
func NewConsistentHash() *ConsistentHash
func (*ConsistentHash) Get ¶
func (c *ConsistentHash) Get(key string) *node
func (*ConsistentHash) Remove ¶
func (c *ConsistentHash) Remove(key string)
Click to show internal directories.
Click to hide internal directories.