MCPcopy
hub / github.com/redis/go-redis / LoadState

Method LoadState

export_test.go:22–25  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

20}
21
22func (c *ClusterClient) LoadState(ctx context.Context) (*clusterState, error) {
23 // return c.state.Reload(ctx)
24 return c.loadState(ctx)
25}
26
27func (c *ClusterClient) SlotAddrs(ctx context.Context, slot int) []string {
28 state, err := c.state.Get(ctx)

Callers 2

newClusterClientMethod · 0.80
osscluster_test.goFile · 0.80

Calls 1

loadStateMethod · 0.95

Tested by

no test coverage detected