Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithClient ¶
WithClient sets the http.Client the fetcher uses.
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
Fetcher is able to load file contents from http, https, file, and base64 locations.
func NewFetcher ¶
func NewFetcher(opts ...func(*opts)) *Fetcher
NewFetcher creates a new fetcher instance.
Click to show internal directories.
Click to hide internal directories.