type github.com/go-redis/redis/v8.clusterState
16 uses
github.com/go-redis/redis/v8 (current package)
cluster.go#L434: type clusterState struct {
cluster.go#L447: ) (*clusterState, error) {
cluster.go#L448: c := clusterState{
cluster.go#L526: func (c *clusterState) slotMasterNode(slot int) (*clusterNode, error) {
cluster.go#L534: func (c *clusterState) slotSlaveNode(slot int) (*clusterNode, error) {
cluster.go#L561: func (c *clusterState) slotClosestNode(slot int) (*clusterNode, error) {
cluster.go#L584: func (c *clusterState) slotRandomNode(slot int) (*clusterNode, error) {
cluster.go#L593: func (c *clusterState) slotNodes(slot int) []*clusterNode {
cluster.go#L610: load func(ctx context.Context) (*clusterState, error)
cluster.go#L616: func newClusterStateHolder(fn func(ctx context.Context) (*clusterState, error)) *clusterStateHolder {
cluster.go#L622: func (c *clusterStateHolder) Reload(ctx context.Context) (*clusterState, error) {
cluster.go#L646: func (c *clusterStateHolder) Get(ctx context.Context) (*clusterState, error) {
cluster.go#L649: state := v.(*clusterState)
cluster.go#L658: func (c *clusterStateHolder) ReloadOrGet(ctx context.Context) (*clusterState, error) {
cluster.go#L997: func (c *ClusterClient) loadState(ctx context.Context) (*clusterState, error) {
cluster.go#L1646: func (c *clusterClient) slotReadOnlyNode(state *clusterState, slot int) (*clusterNode, 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. |