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)
Click to show internal directories.
Click to hide internal directories.