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

Interface Hook

redis.go:54–58  ·  redis.go::Hook

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

52//------------------------------------------------------------------------------
53
54type Hook interface {
55 DialHook(next DialHook) DialHook
56 ProcessHook(next ProcessHook) ProcessHook
57 ProcessPipelineHook(next ProcessPipelineHook) ProcessPipelineHook
58}
59
60type (
61 DialHook func(ctx context.Context, network, addr string) (net.Conn, error)

Callers 15

chainMethod · 0.65
TestWithDialFilterFunction · 0.65
TestTracingHook_DialHookFunction · 0.65
chainMethod · 0.65
withProcessHookMethod · 0.65
TestWithDBStatementFunction · 0.65
TestWithoutCallerFunction · 0.65
TestWithCommandFilterFunction · 0.65
chainMethod · 0.65

Implementers 10

commandHookcommand_recorder_test.go
cmdRecordertx_unwatch_test.go
pipelineErrInjectortx_unwatch_test.go
cmdErrInjectortx_unwatch_test.go
hookmain_test.go
redisHookexample_instrumentation_test.go
redisHookErrorredis_test.go
tracingHookextra/redisotel/tracing.go
metricsHookextra/redisotel/metrics.go
TracingHookextra/rediscensus/rediscensus.go

Calls

no outgoing calls

Tested by

no test coverage detected