http

package
v0.3.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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) FetchResult

func (httpDownloader *Downloader) FetchResult(ctx context.Context, result model.PublishedResult, downloadPath string) error

func (*Downloader) IsInstalled

func (httpDownloader *Downloader) IsInstalled(context.Context) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL