MCPcopy
hub / github.com/redis/go-redis / ConsistentHash

Interface ConsistentHash

ring.go:32–34  ·  ring.go::ConsistentHash

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

30//------------------------------------------------------------------------------
31
32type ConsistentHash interface {
33 Get(string) string
34}
35
36func newRendezvous(shards []string) ConsistentHash {
37 return hashtag.NewRendezvousHash(shards)

Callers 8

monitor_test.goFile · 0.65
TestMonitorCommandFunction · 0.65
TestTLSStandaloneFunction · 0.65
tx_unwatch_test.goFile · 0.65
TestSetIFDEQWithDigestFunction · 0.65
TestSetIFDNEWithDigestFunction · 0.65
pipeline_test.goFile · 0.65

Implementers 10

clusterStateHolderosscluster.go
cmdsInfoCachecommand.go
mockPoolmaintnotifications/pool_hook_test.go
ClientFactorymaintnotifications/e2e/config_parser_t
mockPoolerinternal/auth/streaming/manager_test.g
CredentialsListenersinternal/auth/streaming/cred_listeners
SingleConnPoolinternal/pool/pool_single.go
ConnPoolinternal/pool/pool.go
StickyConnPoolinternal/pool/pool_sticky.go
RendezvousHashinternal/hashtag/rendezvous.go

Calls

no outgoing calls

Tested by

no test coverage detected