Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CtxWith ¶
func CtxWith(parentCtx context.Context, parentLogger log.Logger, operationName string, opts ...opentracing.StartSpanOption) (context.Context, opentracing.Span)
CtxWith creates a new span and attaches it to the context, it also sets the debug id of the logger and the span id and attaches the logger to the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.