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
}
Downloader A task definition to download
func NewTask ¶
func NewTask(output string, url string) (*Downloader, error)
NewTask Returns a Task instance @param output string file output folder path @param url string m3u8 http url
func (*Downloader) Start ¶
func (d *Downloader) Start(concurrency int) error
Start Current downloader runs Use goroutine to download parallel
Click to show internal directories.
Click to hide internal directories.