Versions in this module Expand all Collapse all v0 v0.2.0 May 8, 2023 Changes in this version + var ErrEmptyCircle = errors.New("empty circle") + type Consistent struct + NumberOfReplicas int + UseFnv bool + func New() *Consistent[M] + func (c *Consistent[M]) Add(elt M) + func (c *Consistent[M]) Get(name string) (res M, err error) + func (c *Consistent[M]) GetN(name string, n int) (res []M, err error) + func (c *Consistent[M]) GetTwo(name string) (a M, b M, err error) + func (c *Consistent[M]) Members() []string + func (c *Consistent[M]) Remove(elt M) + func (c *Consistent[M]) Set(elts []M) + type Member interface + String func() string