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

Function NewHotKeysCmd

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

Source from the content-addressed store, hash-verified

5556var _ Cmder = (*HotKeysCmd)(nil)
5557
5558func NewHotKeysCmd(ctx context.Context, args ...interface{}) *HotKeysCmd {
5559 return &HotKeysCmd{
5560 baseCmd: baseCmd{
5561 ctx: ctx,
5562 args: args,
5563 cmdType: CmdTypeHotKeys,
5564 },
5565 }
5566}
5567
5568func (cmd *HotKeysCmd) SetVal(val *HotKeysResult) {
5569 cmd.val = val

Callers 1

HotKeysGetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected