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

Method AddHook

universal.go:351–351  ·  view source on GitHub ↗
(Hook)

Source from the content-addressed store, hash-verified

349type UniversalClient interface {
350 Cmdable
351 AddHook(Hook)
352 Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error
353 Do(ctx context.Context, args ...interface{}) *Cmd
354 Process(ctx context.Context, cmd Cmder) error

Callers 11

tx_unwatch_test.goFile · 0.65
ring_test.goFile · 0.65
osscluster_test.goFile · 0.65
Example_instrumentationFunction · 0.65
TestHookErrorFunction · 0.65
redis_test.goFile · 0.65
InstrumentTracingFunction · 0.65
addMetricsHookFunction · 0.65
AddPoolHookMethod · 0.65

Calls

no outgoing calls

Tested by 4

Example_instrumentationFunction · 0.52
TestHookErrorFunction · 0.52