github.com/go-redis/redis/v8.clusterState.slots (field)
9 uses
github.com/go-redis/redis/v8 (current package)
cluster.go#L439: slots []*clusterSlot
cluster.go#L451: slots: make([]*clusterSlot, 0, len(slots)),
cluster.go#L483: c.slots = append(c.slots, &clusterSlot{
cluster.go#L490: sort.Sort(clusterSlotSlice(c.slots))
cluster.go#L594: i := sort.Search(len(c.slots), func(i int) bool {
cluster.go#L595: return c.slots[i].end >= slot
cluster.go#L597: if i >= len(c.slots) {
cluster.go#L600: x := c.slots[i]
![]() |
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. |