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