Versions in this module Expand all Collapse all v0 v0.18.6 May 1, 2021 v0.18.1 Mar 22, 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