Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadTo ¶
func DownloadWithWorkers ¶
Types ¶
type DownloadTask ¶
type DownloadTask struct {
// contains filtered or unexported fields
}
func NewDefaultDownloadTask ¶
func NewDefaultDownloadTask(url string) *DownloadTask
func NewDownloadTask ¶
func NewDownloadTask(url, filename string, workerCount int) *DownloadTask
func NewDownlosadTaskWithWorkers ¶
func NewDownlosadTaskWithWorkers(url string, workerCount int) *DownloadTask
func (*DownloadTask) Download ¶
func (self *DownloadTask) Download()
Click to show internal directories.
Click to hide internal directories.