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

Struct commandHook

command_recorder_test.go:64–66  ·  view source on GitHub ↗

commandHook implements the redis.Hook interface to record commands.

Source from the content-addressed store, hash-verified

62
63// commandHook implements the redis.Hook interface to record commands.
64type commandHook struct {
65 recorder *commandRecorder
66}
67
68func (h *commandHook) DialHook(next redis.DialHook) redis.DialHook {
69 return next

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected