opentracing

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v1.47.0

type Handler struct {
	http.Handler
	// contains filtered or unexported fields
}

Handler for opentracing.

func NewHandler added in v1.47.0

func NewHandler(tracer Tracer, handler http.Handler) *Handler

NewHandler for opentracing.

func (*Handler) ServeHTTP added in v1.47.0

func (h *Handler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type RoundTripper

type RoundTripper struct {
	http.RoundTripper
	// contains filtered or unexported fields
}

RoundTripper for opentracing.

func NewRoundTripper

func NewRoundTripper(tracer Tracer, hrt http.RoundTripper) *RoundTripper

NewRoundTripper for opentracing.

func (*RoundTripper) RoundTrip

func (r *RoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

type Tracer added in v1.58.0

type Tracer opentracing.Tracer

Tracer for opentracing.

func NewTracer added in v1.64.0

func NewTracer(lc fx.Lifecycle, cfg *sopentracing.Config) (Tracer, error)

NewTracer for opentracing.

Jump to

Keyboard shortcuts

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