Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
func NewFetcher ¶
func NewFetcher(server string, opts ...FetcherOption) *Fetcher
type FetcherOption ¶
type FetcherOption func(*Fetcher)
func WithBearerToken ¶
func WithBearerToken(token string) FetcherOption
func WithHTTPClient ¶
func WithHTTPClient(client *http.Client) FetcherOption
func WithRequestEditor ¶ added in v1.165.1
func WithRequestEditor(fn RequestEditor) FetcherOption
func WithUserAgent ¶
func WithUserAgent(agent string) FetcherOption
type RequestEditor ¶
Click to show internal directories.
Click to hide internal directories.