MCPcopy
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
97func (c *Ring) ShardByName(name string) *ringShard {
98 shard, _ := c.sharding.GetByName(name)
99 return shard
100}
101
102func (c *ModuleLoadexConfig) ToArgs() []interface{} {
103 return c.toArgs()

Callers 1

ring_test.goFile · 0.80

Calls 1

GetByNameMethod · 0.80

Tested by

no test coverage detected