Versions in this module Expand all Collapse all v0 v0.20.2 Sep 6, 2021 Changes in this version + var ErrIsEmpty = errors.New("naza.consistenthash: is empty") + type ConsistentHash interface + Add func(nodes ...string) + Del func(nodes ...string) + Get func(key string) (node string, err error) + Nodes func() map[string]uint64 + func New(dups int, modOptions ...ModOption) ConsistentHash + type HashFunc func([]byte) uint32 + type ModOption func(option *Option) + type Option struct