Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct {
// Username is the username for HTTP Basic Authentication
Username string
// Password is the password for HTTP Basic Authentication
Password string
// Base is the base RoundTripper used to make HTTP requests.
// If nil, http.DefaultTransport is used.
Base http.RoundTripper
}
Transport adds HTTP Basic Authentication to each HTTP request
Click to show internal directories.
Click to hide internal directories.