package
Version:
v0.0.0-...-f5b1125
Opens a new window with list of versions in this module.
Published: Apr 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
Package consistenthash provides an implementation of a ring hash.
Adds some keys to the hash.
Adds a key with different replica to the hash.
Gets the closest item in the hash to the provided key.
Gets the two items in the hash to the provided key.
Returns true if there are no items available.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.