Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchOptions ¶
type FetchOptions struct {
// contains filtered or unexported fields
}
type FetchOptionsFn ¶
type FetchOptionsFn func(opt *FetchOptions)
func WithPassword ¶
func WithPassword(password string) FetchOptionsFn
WithPassword provides optional password to the URL fetch.
func WithToken ¶
func WithToken(token string) FetchOptionsFn
WithToken provides optional token to the URL fetch.
func WithUsername ¶
func WithUsername(username string) FetchOptionsFn
WithUsername provides optional username to the URL fetch.
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
Fetcher wraps an HTTP client.
func NewFetcher ¶
NewFetcher constructs a new client wrapper with a given client.
Click to show internal directories.
Click to hide internal directories.