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

Method context

osscluster.go:2490–2495  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

2488}
2489
2490func (c *ClusterClient) context(ctx context.Context) context.Context {
2491 if c.opt.ContextTimeoutEnabled {
2492 return ctx
2493 }
2494 return context.Background()
2495}
2496
2497func (c *ClusterClient) GetResolver() *commandInfoResolver {
2498 return c.cmdInfoResolver

Callers 3

cmdInfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected