Documentation ¶
Index ¶
- func HandlerSpanWrapper(operation string) func(inner handler.Func) handler.Func
- func MiddlewareSpanWrapper(operation string) func(inner middleware.Func) middleware.Func
- func NewRoundTripperWithOpenTrancing() *roundTripper
- func SpanLoggerFactory(logger *zap.Logger) log.Factory
- func SpanWrapper(inner http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerSpanWrapper ¶
HandlerSpanWrapper is a handler.Func with opentracing
func MiddlewareSpanWrapper ¶
func MiddlewareSpanWrapper(operation string) func(inner middleware.Func) middleware.Func
MiddlewareSpanWrapper is a middleware.Func with opentracing
func NewRoundTripperWithOpenTrancing ¶
func NewRoundTripperWithOpenTrancing() *roundTripper
NewRoundTripperWithOpenTrancing creates a new roundTripper with OpenTracing
func SpanLoggerFactory ¶
SpanLoggerFactory is a wrapper over zap.Logger with OpenTracing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.