Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ ShardByName
Method
ShardByName
export_test.go:97–100 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
95
}
96
97
func
(c *Ring) ShardByName(name string) *ringShard {
98
shard, _ := c.sharding.GetByName(name)
99
return
shard
100
}
101
102
func
(c *ModuleLoadexConfig) ToArgs() []
interface
{} {
103
return
c.toArgs()
Callers
1
ring_test.go
File · 0.80
Calls
1
GetByName
Method · 0.80
Tested by
no test coverage detected