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

Method HotKeysGet

hotkeys_commands.go:118–122  ·  view source on GitHub ↗

HotKeysGet retrieves the results of the ongoing or last hotkeys collection session. This command is only available on standalone clients.

(ctx context.Context)

Source from the content-addressed store, hash-verified

116// HotKeysGet retrieves the results of the ongoing or last hotkeys collection session.
117// This command is only available on standalone clients.
118func (c *Client) HotKeysGet(ctx context.Context) *HotKeysCmd {
119 cmd := NewHotKeysCmd(ctx, "hotkeys", "get")
120 _ = c.Process(ctx, cmd)
121 return cmd
122}

Callers 1

Calls 2

ProcessMethod · 0.95
NewHotKeysCmdFunction · 0.85

Tested by

no test coverage detected