Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher interface { // Fetch data from external resource. Fetch(ID string, data *model.FetchData) (*model.Response, error) }
Fetcher interface for external resource.
func NewHTTPFetcher ¶
NewHTTPFetcher constructor.
type HTTPFetcher ¶
type HTTPFetcher struct {
// contains filtered or unexported fields
}
HTTPFetcher for external resource implements Fetcher interface.
Click to show internal directories.
Click to hide internal directories.