tracer

package
v1.91.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Unlicense Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler for tracer.

func NewHandler

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

NewHandler for tracer.

func (*Handler) ServeHTTP

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

ServeHTTP for tracer.

type Params

type Params struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *tracer.Config
	Version   version.Version
}

Params for tracer.

type RoundTripper

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

RoundTripper for tracer.

func NewRoundTripper

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

NewRoundTripper for tracer.

func (*RoundTripper) RoundTrip

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

RoundTrip for tracer.

type Tracer

type Tracer trace.Tracer

Tracer for tracer.

func NewTracer

func NewTracer(params Params) (Tracer, error)

NewTracer for tracer.

Jump to

Keyboard shortcuts

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