Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewDownloader ¶
func NewDownloader(params DownloaderParams) *Downloader
func (*Downloader) FetchResult ¶
func (d *Downloader) FetchResult(ctx context.Context, item downloader.DownloadItem) (string, error)
func (*Downloader) IsInstalled ¶
func (d *Downloader) IsInstalled(ctx context.Context) (bool, error)
type DownloaderParams ¶
type DownloaderParams struct {
HTTPDownloader *http.Downloader
}
Click to show internal directories.
Click to hide internal directories.