Documentation ¶
Overview ¶
Package httpclient provides a thin, but testable, wrapper around http.Client. It adds an ECS header to requests and provides an interface
Index ¶
Constants ¶
View Source
const ( DefaultDialTimeout = 30 * time.Second DefaultDialKeepalive = 30 * time.Second DefaultTLSHandshakeTimeout = 10 * time.Second )
Below constants taken from the default http.Client behavior. Ref: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/custom-http.html
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OverridableTransport ¶
type OverridableTransport interface {
SetTransport(http.RoundTripper)
}
OverridableTransport is a transport that provides an override for testing purposes.
Click to show internal directories.
Click to hide internal directories.