http

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 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) 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)

Jump to

Keyboard shortcuts

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