Documentation ¶
Index ¶
- func New(tracer trace.Tracer, db int) redis.Hook
- type Hook
- func (hook *Hook) AfterProcess(ctx context.Context, cmd redis.Cmder) error
- func (hook *Hook) AfterProcessPipeline(ctx context.Context, cmds []redis.Cmder) error
- func (hook *Hook) BeforeProcess(ctx context.Context, cmd redis.Cmder) (context.Context, error)
- func (hook *Hook) BeforeProcessPipeline(ctx context.Context, cmds []redis.Cmder) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hook ¶
type Hook struct {
// contains filtered or unexported fields
}
func (*Hook) AfterProcess ¶
func (*Hook) AfterProcessPipeline ¶
func (*Hook) BeforeProcess ¶
Click to show internal directories.
Click to hide internal directories.