Discover Packages
github.com/aeof/godl
downloader
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Apr 20, 2022
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ClientConfig struct {
HTTPClient *http .Client
}
Section is a part of a downloading task.
It will be downloaded to the disk with its filename.
Task is a downloading task which contains multiple downloading sections.
NewTask create a new task according to the given url, worker number and path name.
If the workerNum given is non-positive, it will set the number of the system's logical cpu as the worker number.
Run starts the task. It will download each sections to disk and merge them.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.