github.com/go-redis/redis/v8.ringShards.GetByKey (method)
6 uses
github.com/go-redis/redis/v8 (current package)
ring.go#L266: func (c *ringShards) GetByKey(key string) (*ringShard, error) {
ring.go#L305: return c.GetByKey(strconv.Itoa(rand.Int()))
ring.go#L492: shard, err := c.shards.GetByKey(channels[0])
ring.go#L506: shard, err := c.shards.GetByKey(channels[0])
ring.go#L587: return c.shards.GetByKey(firstKey)
ring.go#L712: shard, err := c.shards.GetByKey(hashtag.Key(key))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |