downloader

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPDownloader

type HTTPDownloader struct {
	URL            string
	File           string
	Part           int64
	Len            int64
	IPs            []string
	SkipTLS        bool
	DownloadRanges []tool.DownloadRange
	Resumable      bool
}

func NewHTTPDownloader

func NewHTTPDownloader(url string, par int) (*HTTPDownloader, error)

func (*HTTPDownloader) Downloading

func (d *HTTPDownloader) Downloading(doneChan chan bool, fileChan chan string, errorChan chan error, interruptChan chan bool, stateSaveChan chan tool.DownloadRange)

Jump to

Keyboard shortcuts

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