Versions in this module Expand all Collapse all v0 v0.0.1 May 2, 2020 Changes in this version + type ConsistentHash struct + func NewConsistentHash(defaultReplicas int, hashFunction HashFunc) *ConsistentHash + func (ch *ConsistentHash) Add(key string) + func (ch *ConsistentHash) AddReplicas(key string, replicas int) + func (ch *ConsistentHash) Get(key string) string + func (ch *ConsistentHash) IsEmpty() bool + func (ch *ConsistentHash) Remove(key string) bool + type HashFunc func(data []byte) uint32