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

Method HotKeysReset

hotkeys_commands.go:110–114  ·  view source on GitHub ↗

HotKeysReset discards the last hotkeys collection session results. Returns an error if tracking is currently active. This command is only available on standalone clients.

(ctx context.Context)

Source from the content-addressed store, hash-verified

108// Returns an error if tracking is currently active.
109// This command is only available on standalone clients.
110func (c *Client) HotKeysReset(ctx context.Context) *StatusCmd {
111 cmd := NewStatusCmd(ctx, "hotkeys", "reset")
112 _ = c.Process(ctx, cmd)
113 return cmd
114}
115
116// HotKeysGet retrieves the results of the ongoing or last hotkeys collection session.
117// This command is only available on standalone clients.

Callers 1

Calls 2

ProcessMethod · 0.95
NewStatusCmdFunction · 0.85

Tested by

no test coverage detected