package
5.0.0+incompatible
Repository: https://github.com/hpe-storage/common-host-libs.git
Documentation: pkg.go.dev

# Functions

NewHTTPClient returns a client that communicates over ip using a 30 second timeout.
NewHTTPClientWithTimeout returns a client that communicates over ip.
NewHTTPClientWithTimeoutAndRedirectPolicy returns a client that communicates over ip.
NewHTTPSClient returns a new https client.
NewHTTPSClientWithTimeout returns a client that communicates over ip with tls :.
NewHTTPSClientWithTimeoutAndRedirectPolicy returns a client that communicates over ip.
NewSocketClient returns a client that communicates over a unix socket using a 30 second connect timeout.
NewSocketClientWithTimeout returns a client that communicates over a unix file socket.

# Structs

Client is a simple wrapper for http.Client.
Request encapsulates a request to the Do* family of functions.