github.com/go-redis/redis/v8.ClusterOptions.ClusterSlots (field)
5 uses
github.com/go-redis/redis/v8 (current package)
cluster.go#L52: ClusterSlots func(context.Context) ([]ClusterSlot, error)
cluster.go#L89: if (opt.RouteByLatency || opt.RouteRandomly) && opt.ClusterSlots == nil {
cluster.go#L998: if c.opt.ClusterSlots != nil {
cluster.go#L999: slots, err := c.opt.ClusterSlots(ctx)
sentinel.go#L693: opt.ClusterSlots = func(ctx context.Context) ([]ClusterSlot, error) {
![]() |
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. |