Versions in this module Expand all Collapse all v0 v0.3.1 Jun 21, 2021 Changes in this version + var String = log.String + func CustomTag(key string, val interface{}) opentracing.Tag + func FromIncomingContext(ctx context.Context) opentracing.StartSpanOption + func HeaderExtractor(hdr map[string][]string) opentracing.StartSpanOption + func HeaderInjector(ctx context.Context, hdr map[string][]string) context.Context + func MetadataExtractor(md map[string][]string) opentracing.StartSpanOption + func MetadataInjector(ctx context.Context, md metadata.MD) context.Context + func SetGlobalTracer(tracer opentracing.Tracer) + func SpanFromContext(ctx context.Context) opentracing.Span + func StartSpanFromContext(ctx context.Context, op string, opts ...opentracing.StartSpanOption) (opentracing.Span, context.Context) + func TagComponent(component string) opentracing.Tag + func TagSpanKind(kind string) opentracing.Tag + func TagSpanURL(url string) opentracing.Tag + type MetadataReaderWriter struct + MD map[string][]string + func (w MetadataReaderWriter) ForeachKey(handler func(key, val string) error) error + func (w MetadataReaderWriter) Set(key, val string) + type NullStartSpanOption struct + func (sso NullStartSpanOption) Apply(options *opentracing.StartSpanOptions)