Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsistentHash ¶
type ConsistentHash struct {
// contains filtered or unexported fields
}
func NewConsistentHash ¶
func NewConsistentHash() *ConsistentHash
NewConsistentHash 创建 ConsistentHash 实例
func (*ConsistentHash) RemoveNode ¶
func (c *ConsistentHash) RemoveNode(node string)
RemoveNode 删除节点
Click to show internal directories.
Click to hide internal directories.