nethttp

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraceRequest

func TraceRequest(tr opentracing.Tracer, req *http.Request) *http.Request

Types

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

func TracerFromRequest

func TracerFromRequest(req *http.Request) *Tracer

type Transport

type Transport struct {
	// The actual RoundTripper to use for the request. A nil RoundTripper defaults to http.DefaultTransport.
	http.RoundTripper
}

func (*Transport) RoundTrip

func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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