package
Version:
v0.0.0-...-693abe4
Opens a new window with list of versions in this module.
Published: Nov 16, 2019
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.
Documentation
¶
Hash 为一个带有一致性 hash 特性的群体
NewHash create a new consistant hash service
Get will execute hash action, return the node that the value should belong to
type Node struct {
ID string
}
Node represents the real node entity in hash ring
Source Files
¶
Click to show internal directories.
Click to hide internal directories.