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()
![]() |
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. |