package
Version:
v1.2.10
Opens a new window with list of versions in this module.
Published: Aug 26, 2024
License: GPL-3.0
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.
Documentation
¶
HashFunc defines function to generate hash code
Map stores nodes and you can pick node from Map
AddNode add the given nodes into consistent hash circle
IsEmpty returns if there is no node in Map
PickNode gets the closest item in the hash to the provided key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.