httpclient

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 1 Imported by: 1

README

httpclient

Wrappers for HTTP client operations

  • Logging requests via a pluggable logger

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlledRedirectClient added in v0.0.6

type ControlledRedirectClient interface {
	HttpClient
	SetCheckRedirect(func(req *http.Request, via []*http.Request) error)
}

type HttpClient

type HttpClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HttpClient indicates the core function in http.Client, allowing features to be nested easily.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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