Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatHeaderRange ¶
FormatHeaderRange generates the Range header string given start and end values
Types ¶
type BasicAuthTransport ¶
type BasicAuthTransport struct {
// contains filtered or unexported fields
}
BasicAuthTransport is an http.RoundTripper that adds basic auth credentials to each request.
func NewBasicAuthTransport ¶
func NewBasicAuthTransport(t http.RoundTripper, username, password string) *BasicAuthTransport
NewBasicAuthTransport sets up a transport that wraps the provided transport.
Directories ¶
Path | Synopsis |
---|---|
httpcfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.