Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracingHook ¶
type TracingHook struct {
// contains filtered or unexported fields
}
func NewTracingHook ¶
func NewTracingHook(tracer string, isCluster bool) *TracingHook
NewTracingHook 使用redis的hook接口来提供trace链路追踪
func (TracingHook) DialHook ¶
func (t TracingHook) DialHook(next redis.DialHook) redis.DialHook
func (TracingHook) ProcessHook ¶
func (t TracingHook) ProcessHook(next redis.ProcessHook) redis.ProcessHook
func (TracingHook) ProcessPipelineHook ¶
func (t TracingHook) ProcessPipelineHook(next redis.ProcessPipelineHook) redis.ProcessPipelineHook
Click to show internal directories.
Click to hide internal directories.