github.com/go-redis/redis/v8.ring.shards (field)

15 uses

	github.com/go-redis/redis/v8 (current package)
		ring.go#L387: 	shards        *ringShards
		ring.go#L418: 			shards: newRingShards(opt),
		ring.go#L426: 	go ring.shards.Heartbeat(opt.HeartbeatFrequency)
		ring.go#L468: 	shards := c.shards.List()
		ring.go#L483: 	return c.shards.Len()
		ring.go#L492: 	shard, err := c.shards.GetByKey(channels[0])
		ring.go#L506: 	shard, err := c.shards.GetByKey(channels[0])
		ring.go#L520: 	shards := c.shards.List()
		ring.go#L551: 	shards := c.shards.List()
		ring.go#L584: 		return c.shards.Random()
		ring.go#L587: 	return c.shards.GetByKey(firstKey)
		ring.go#L667: 			hash = c.shards.Hash(hash)
		ring.go#L690: 	shard, err := c.shards.GetByName(hash)
		ring.go#L712: 			shard, err := c.shards.GetByKey(hashtag.Key(key))
		ring.go#L742: 	return c.shards.Close()