Versions in this module Expand all Collapse all v0 v0.1.4 May 10, 2023 v0.1.3 May 10, 2023 Changes in this version + type ConsistentHashing struct + Keys []uint32 + Logger *log.Logger + Nodes map[uint32]string + Replicas int + func (h *ConsistentHashing) AddNode(node string) + func (h *ConsistentHashing) GetImmediateNode(key string) string + func (h *ConsistentHashing) Hash(uuid string, _ int) (string, error) + func (h *ConsistentHashing) RemoveNode(node string) + func (h *ConsistentHashing) SetReplicas(replicas int)