internal

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LibraryVersion = "0.37.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderRoundTripper added in v0.35.0

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

func NewHeaderRoundTripper added in v0.35.0

func NewHeaderRoundTripper(next http.RoundTripper, Header http.Header) *HeaderRoundTripper

func (*HeaderRoundTripper) RoundTrip added in v0.35.0

func (rt *HeaderRoundTripper) RoundTrip(req *http.Request) (resp *http.Response, err error)

type LoggingRoundTripper added in v0.35.0

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

func NewLoggingRoundTripper added in v0.35.0

func NewLoggingRoundTripper(next http.RoundTripper, logFile *os.File) *LoggingRoundTripper

func (*LoggingRoundTripper) RoundTrip added in v0.35.0

func (rt *LoggingRoundTripper) RoundTrip(req *http.Request) (resp *http.Response, err error)

Jump to

Keyboard shortcuts

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