Versions in this module Expand all Collapse all v0 v0.0.1 Jun 19, 2022 Changes in this version + const AlgorithmFNV + const AlgorithmMurmur3 + func ComputeHash(k Key, alg Algorithm) uint64 + type Algorithm func() hash.Hash64 + func DefaultAlgorithm() Algorithm + func FindAlgorithm(name string, extensions map[string]Algorithm) (Algorithm, error) + func GetAlgorithm(name string) (Algorithm, error) + type Bytes []byte + func (b Bytes) WriteTo(w io.Writer) (int64, error) + type Key interface + type Node string + var NilNode Node = Node("") + func (n Node) WriteTo(w io.Writer) (int64, error) + type NodeSet map[Node]bool + func NewNodeSet(nodes ...Node) NodeSet + func (ns *NodeSet) Add(n Node) (added bool) + func (ns *NodeSet) AddAll(nodes ...Node) (count int) + func (ns *NodeSet) Remove(n Node) (removed bool) + func (ns *NodeSet) RemoveAll(nodes ...Node) (count int) + func (ns NodeSet) Filter(nodes []Node) (in, notIn []Node) + func (ns NodeSet) Has(n Node) bool + func (ns NodeSet) Len() int + type String string + func (s String) WriteTo(w io.Writer) (int64, error) + type UnknownAlgorithmError struct + Name string + func (e *UnknownAlgorithmError) Error() string