opentracing

package
v0.0.0-...-0985de9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeaderFromContext

func HeaderFromContext(ctx context.Context) opentracing.HTTPHeadersCarrier

func NewCallWrapper

func NewCallWrapper(ot opentracing.Tracer) client.CallWrapper

针对客户端

func NewHandlerWrapper

func NewHandlerWrapper(ot opentracing.Tracer) server.HandlerWrapper

func NewSpanContext

func NewSpanContext(ctx context.Context, name string) context.Context

func StartSpanFromContext

func StartSpanFromContext(ctx context.Context, tracer opentracing.Tracer, name string, opts ...opentracing.StartSpanOption) (context.Context, opentracing.Span, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL