Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewTask ¶
func NewTask(output, url, filename string) (*Downloader, error)
NewTask returns a Task instance -- NewTask返回一个Task实例
func (*Downloader) Start ¶
func (d *Downloader) Start(concurrency int) error
Start runs downloader -- 开始运行下载器
Click to show internal directories.
Click to hide internal directories.