Documentation
¶
Index ¶
- func AppendArg(b []byte, v interface{}) []byte
- func Bytes(s string) []byte
- func String(b []byte) string
- type OpenTracingHook
- func (h *OpenTracingHook) AfterProcess(ctx context.Context, cmd redis.Cmder) error
- func (h *OpenTracingHook) AfterProcessPipeline(ctx context.Context, cmds []redis.Cmder) error
- func (h *OpenTracingHook) BeforeProcess(ctx context.Context, cmd redis.Cmder) (context.Context, error)
- func (h *OpenTracingHook) BeforeProcessPipeline(ctx context.Context, cmds []redis.Cmder) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OpenTracingHook ¶
type OpenTracingHook struct {
Tracker opentracing.Tracer
}
func NewHook ¶
func NewHook() *OpenTracingHook
func NewHookWithTracer ¶
func NewHookWithTracer(tracker opentracing.Tracer) *OpenTracingHook
func (*OpenTracingHook) AfterProcess ¶
func (h *OpenTracingHook) AfterProcess(ctx context.Context, cmd redis.Cmder) error
func (*OpenTracingHook) AfterProcessPipeline ¶
func (h *OpenTracingHook) AfterProcessPipeline(ctx context.Context, cmds []redis.Cmder) error
func (*OpenTracingHook) BeforeProcess ¶
func (*OpenTracingHook) BeforeProcessPipeline ¶
Click to show internal directories.
Click to hide internal directories.