Documentation ¶
Overview ¶
Package rendezvous implements rendezvous hashing (a.k.a. highest random weight hashing). See http://en.wikipedia.org/wiki/Rendezvous_hashing for more information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash struct {
// contains filtered or unexported fields
}
func (*Hash) Get ¶
Get returns the node with the highest score for the given key. If this Hash has no nodes, an empty string is returned.
Click to show internal directories.
Click to hide internal directories.