Versions in this module Expand all Collapse all v0 v0.1.0 Oct 17, 2021 Changes in this version + const BadScheme + var ErrBadSchemeParameter = errors.New("sharding: bad scheme parameter") + type Scheme struct + func New(n uint64) (*Scheme, error) + func (s *Scheme) WithBytes(key []byte) (i int) + func (s *Scheme) WithHash(key uint64) int