httpclient

package
v0.0.0-...-ab15b4e Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

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

HTTPClient is base interface for all HttpClient implementation.

func New

func New(allowInsecureConnection bool) HTTPClient

New creates a new instance of HttpClients. The allowInsecureConnection determines if the client needs to validate connection certificate.

Jump to

Keyboard shortcuts

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