Documentation
¶
Overview ¶
Package fetch provides an interface and implementations for fetching remote content.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPFetcher ¶
type HTTPFetcher struct {
// contains filtered or unexported fields
}
HTTPFetcher fetches content via HTTP GET requests.
func NewHTTPFetcher ¶
func NewHTTPFetcher() *HTTPFetcher
NewHTTPFetcher creates a new HTTP fetcher with a 30-second timeout.
Click to show internal directories.
Click to hide internal directories.