Documentation ¶
Index ¶
- type RedisTraceHook
- func (t RedisTraceHook) AfterProcess(ctx context.Context, cmd redis.Cmder) error
- func (t RedisTraceHook) AfterProcessPipeline(ctx context.Context, cmds []redis.Cmder) error
- func (t RedisTraceHook) BeforeProcess(ctx context.Context, cmd redis.Cmder) (context.Context, error)
- func (t RedisTraceHook) BeforeProcessPipeline(ctx context.Context, cmds []redis.Cmder) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisTraceHook ¶
type RedisTraceHook struct { }
func (RedisTraceHook) AfterProcess ¶
func (t RedisTraceHook) AfterProcess(ctx context.Context, cmd redis.Cmder) error
func (RedisTraceHook) AfterProcessPipeline ¶
func (t RedisTraceHook) AfterProcessPipeline(ctx context.Context, cmds []redis.Cmder) error
func (RedisTraceHook) BeforeProcess ¶
func (RedisTraceHook) BeforeProcessPipeline ¶
Click to show internal directories.
Click to hide internal directories.