Documentation ¶
Index ¶
- Constants
- func ID(ctx context.Context) string
- func MDValue(ctx context.Context, key string) string
- func NewTracer(opts ...Option) (opentracing.Tracer, io.Closer, error)
- func NiceMD(ctx context.Context) metadata.MD
- func StartSpanFromContext(ctx context.Context, opName ...string) (opentracing.Span, context.Context)
- func StartSpanFromContextWithSt(ctx context.Context, opName string, startTime time.Time) (opentracing.Span, context.Context)
- type Option
Constants ¶
View Source
const CtxKey = "rushgo_trace_id"
Variables ¶
This section is empty.
Functions ¶
func StartSpanFromContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.