Documentation ¶
Overview ¶
Package tracerutil provides helpers for tracing various components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnaryInterceptor ¶
func NewUnaryInterceptor(tr opentracing.Tracer) func(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Types ¶
type GRPCTextMapCarrier ¶
func (GRPCTextMapCarrier) ForeachKey ¶
func (g GRPCTextMapCarrier) ForeachKey(handler func(key, val string) error) error
func (GRPCTextMapCarrier) Set ¶
func (g GRPCTextMapCarrier) Set(k, v string)
Click to show internal directories.
Click to hide internal directories.