Versions in this module Expand all Collapse all v0 v0.1.0 Nov 5, 2023 Changes in this version + type HashFn func([]byte) uint32 + type Ring struct + func NewRing(replicas int, fn HashFn) *Ring + func (r *Ring) Add(keys ...string) + func (r *Ring) Get(key string) string + func (r *Ring) IsEmpty() bool + func (r *Ring) Mine(name, key string) bool + func (r *Ring) Remove(keys ...string)