Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buraksezer/consistent
/ String
Method
String
consistent.go:87–87 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
// Member interface represents a member in consistent hash ring.
86
type
Member
interface
{
87
String() string
88
}
89
90
// Config represents a structure to control consistent package.
Callers
13
TestConsistentAdd
Function · 0.65
TestConsistentRemove
Function · 0.65
TestConsistentLocateKey
Function · 0.65
TestConsistentClosestMembers
Function · 0.65
BenchmarkAddRemove
Function · 0.65
distributeWithLoad
Method · 0.65
add
Method · 0.65
Add
Method · 0.65
getClosestN
Method · 0.65
main
Function · 0.65
main
Function · 0.65
main
Function · 0.65
Calls
no outgoing calls
Tested by
5
TestConsistentAdd
Function · 0.52
TestConsistentRemove
Function · 0.52
TestConsistentLocateKey
Function · 0.52
TestConsistentClosestMembers
Function · 0.52
BenchmarkAddRemove
Function · 0.52