Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFetcher ¶
func RegisterFetcher(name string, fn NewFetcherFunc) (err error)
Types ¶
type FetchParams ¶
type FetchParams []byte
func (*FetchParams) Unmarshal ¶
func (p *FetchParams) Unmarshal(v interface{}) (err error)
type Fetcher ¶
type Fetcher interface {
Fetch(FetchParams) ([]byte, error)
}
type NewFetcherFunc ¶
type NewFetcherFunc func(config.Configuration) (Fetcher, error)
Click to show internal directories.
Click to hide internal directories.