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

Method Do

commands.go:447–451  ·  view source on GitHub ↗
(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

445}
446
447func (c cmdable) Do(ctx context.Context, args ...interface{}) *Cmd {
448 cmd := NewCmd(ctx, args...)
449 _ = c(ctx, cmd)
450 return cmd
451}
452
453// DoRaw executes a command and returns the raw RESP protocol bytes without parsing.
454func (c cmdable) DoRaw(ctx context.Context, args ...interface{}) *RawCmd {

Callers

nothing calls this directly

Calls 1

NewCmdFunction · 0.85

Tested by

no test coverage detected