roundtripper

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapFunc added in v0.37.0

func WrapFunc(delegate http.RoundTripper, f Func) net.RoundTripperWrapper

Types

type Func

type Func func(*http.Request) (*http.Response, error)

func (Func) RoundTrip

func (f Func) 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