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

Function NewInfoCmd

command.go:7896–7904  ·  view source on GitHub ↗
(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

7894var _ Cmder = (*InfoCmd)(nil)
7895
7896func NewInfoCmd(ctx context.Context, args ...interface{}) *InfoCmd {
7897 return &InfoCmd{
7898 baseCmd: baseCmd{
7899 ctx: ctx,
7900 args: args,
7901 cmdType: CmdTypeInfo,
7902 },
7903 }
7904}
7905
7906func (cmd *InfoCmd) SetVal(val map[string]map[string]string) {
7907 cmd.val = val

Callers 1

InfoMapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected