Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TraceClient ¶
func WrapClient ¶
func WrapClient(tracer aitracer.Tracer, client *redis.Client) *TraceClient
WrapClient create a wrapped redis.TraceClient with trace
func (*TraceClient) WithContext ¶
func (c *TraceClient) WithContext(ctx context.Context) *redis.Client
WithContext is used to process redisCmd with trace. redisCmd should be executed by c2
Click to show internal directories.
Click to hide internal directories.