Documentation ¶
Index ¶
- type Downloader
- func (httpDownloader *Downloader) DescribeResult(ctx context.Context, result model.PublishedResult) (map[string]string, error)
- func (httpDownloader *Downloader) FetchResult(ctx context.Context, item model.DownloadItem) error
- func (httpDownloader *Downloader) IsInstalled(context.Context) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
Settings *model.DownloaderSettings
}
func NewHTTPDownloader ¶
func NewHTTPDownloader(settings *model.DownloaderSettings) *Downloader
func (*Downloader) DescribeResult ¶ added in v0.3.29
func (httpDownloader *Downloader) DescribeResult(ctx context.Context, result model.PublishedResult) (map[string]string, error)
func (*Downloader) FetchResult ¶
func (httpDownloader *Downloader) FetchResult(ctx context.Context, item model.DownloadItem) error
func (*Downloader) IsInstalled ¶
func (httpDownloader *Downloader) IsInstalled(context.Context) (bool, error)
Click to show internal directories.
Click to hide internal directories.