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

Function NewStatusCmd

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

Source from the content-addressed store, hash-verified

1071var _ Cmder = (*StatusCmd)(nil)
1072
1073func NewStatusCmd(ctx context.Context, args ...interface{}) *StatusCmd {
1074 return &StatusCmd{
1075 baseCmd: baseCmd{
1076 ctx: ctx,
1077 args: args,
1078 cmdType: CmdTypeStatus,
1079 },
1080 }
1081}
1082
1083func (cmd *StatusCmd) SetVal(val string) {
1084 cmd.val = val

Callers 15

ScriptFlushMethod · 0.85
ACLLogResetMethod · 0.85
ACLSetUserMethod · 0.85
AuthMethod · 0.85
AuthACLMethod · 0.85
SelectMethod · 0.85
SwapDBMethod · 0.85
ClientSetInfoMethod · 0.85
PingMethod · 0.85
BgRewriteAOFMethod · 0.85
BgSaveMethod · 0.85
ClientKillMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected