Versions in this module Expand all Collapse all v1 v1.0.1 May 7, 2019 Changes in this version + var ErrEmptyCircle = errors.New("empty circle") + var ErrNotSorted = errors.New("not sorted") + type Consistent struct + func New() *Consistent + func (c *Consistent) Add(elt string, numOfReplicas int) + func (c *Consistent) Get(name string) (string, error) + func (c *Consistent) GetTwo(name string) (string, string, error) + func (c *Consistent) SortHashes()