package
0.0.1
Repository: https://github.com/moemoe89/fetch.git
Documentation: pkg.go.dev

# Functions

New returns an implementation of the Fetcher interface.
NewGoMockClient creates a new mock instance.
NewMockHTTPClient creates a new mock instance.
WithHTTPClient returns an option that set the http client.

# Structs

GoMockClient is a mock of Fetcher interface.
GoMockClientMockRecorder is the mock recorder for GoMockClient.
Metadata data structure for the metadata web page.
MockHTTPClient is a mock of HTTPClient interface.
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.

# Interfaces

Fetcher is an interface that defines the methods for fetching a page from a website and saving it to disk, as well as extracting metadata about the page.
HTTPClient is an interface that defines the methods of an HTTP client.

# Type aliases

Option configures client.