httpclient

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggingRoundTripper

func NewLoggingRoundTripper(ctx context.Context, rt http.RoundTripper) http.RoundTripper

func NewNoJsonResponseRoundTripper

func NewNoJsonResponseRoundTripper(ctx context.Context, rt http.RoundTripper) http.RoundTripper

Types

type LoggingRoundTripper

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

func (LoggingRoundTripper) RoundTrip

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

type NoJsonResponseRoundTripper

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

func (NoJsonResponseRoundTripper) RoundTrip

func (t NoJsonResponseRoundTripper) 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