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

Method Process

ring.go:639–643  ·  view source on GitHub ↗
(ctx context.Context, cmd Cmder)

Source from the content-addressed store, hash-verified

637}
638
639func (c *Ring) Process(ctx context.Context, cmd Cmder) error {
640 err := c.processHook(ctx, cmd)
641 cmd.SetErr(err)
642 return err
643}
644
645// Options returns read-only *RingOptions that were used to create the client.
646// Any alteration of the returned *RingOptions may result in undefined behaviour.

Callers

nothing calls this directly

Calls 2

processHookMethod · 0.80
SetErrMethod · 0.65

Tested by

no test coverage detected