package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Nov 22, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
consistenthash
This library implements consistent hash introduced in this paper. This library is for learning purposes only.
Checkout this blog post for more info.
Documentation
¶
Node is a single entity in a ring.
Nodes implement sort.Interface.
Ring is a network of distributed nodes.
Get returns the node closest to the key specified as argument,
from the nodes ring.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.