type github.com/go-redis/redis/v8.ringShards
13 uses
github.com/go-redis/redis/v8 (current package)
ring.go#L207: type ringShards struct {
ring.go#L218: func newRingShards(opt *RingOptions) *ringShards {
ring.go#L229: c := &ringShards{
ring.go#L240: func (c *ringShards) List() []*ringShard {
ring.go#L252: func (c *ringShards) Hash(key string) string {
ring.go#L266: func (c *ringShards) GetByKey(key string) (*ringShard, error) {
ring.go#L293: func (c *ringShards) GetByName(shardName string) (*ringShard, error) {
ring.go#L304: func (c *ringShards) Random() (*ringShard, error) {
ring.go#L309: func (c *ringShards) Heartbeat(frequency time.Duration) {
ring.go#L333: func (c *ringShards) rebalance() {
ring.go#L354: func (c *ringShards) Len() int {
ring.go#L361: func (c *ringShards) Close() error {
ring.go#L387: shards *ringShards
![]() |
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. |