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))