Versions in this module Expand all Collapse all v1 v1.0.0 Oct 24, 2024 Changes in this version + var ErrNoNodes = errors.New("there are no nodes in the ring") + type HashRing struct + func New(nodes []string) *HashRing + func (h *HashRing) AddNode(keys ...string) + func (h *HashRing) GetTargetNode(key string) (string, error)