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

Method HotKeysStop

hotkeys_commands.go:101–105  ·  view source on GitHub ↗

HotKeysStop stops the ongoing hotkeys collection session. This command is only available on standalone clients.

(ctx context.Context)

Source from the content-addressed store, hash-verified

99// HotKeysStop stops the ongoing hotkeys collection session.
100// This command is only available on standalone clients.
101func (c *Client) HotKeysStop(ctx context.Context) *StatusCmd {
102 cmd := NewStatusCmd(ctx, "hotkeys", "stop")
103 _ = c.Process(ctx, cmd)
104 return cmd
105}
106
107// HotKeysReset discards the last hotkeys collection session results.
108// Returns an error if tracking is currently active.

Callers 1

Calls 2

ProcessMethod · 0.95
NewStatusCmdFunction · 0.85

Tested by

no test coverage detected