Versions in this module Expand all Collapse all v1 v1.6.0 Apr 5, 2025 v1.4.0 Oct 6, 2024 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