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

Method SetCommandInfoResolver

osscluster.go:2501–2503  ·  view source on GitHub ↗
(cmdInfoResolver *commandInfoResolver)

Source from the content-addressed store, hash-verified

2499}
2500
2501func (c *ClusterClient) SetCommandInfoResolver(cmdInfoResolver *commandInfoResolver) {
2502 c.cmdInfoResolver = cmdInfoResolver
2503}
2504
2505// extractCommandInfo retrieves the routing policy for a command
2506func (c *ClusterClient) extractCommandInfo(ctx context.Context, cmd Cmder) *routing.CommandPolicy {

Callers 2

NewClusterClientFunction · 0.95
newClusterClientMethod · 0.80

Calls

no outgoing calls

Tested by 1

newClusterClientMethod · 0.64