Documentation
¶
Overview ¶
download/download.go
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 handles downloading and merging M3U8 segments.
func NewTask ¶
func NewTask(output, url, filename string) (*Downloader, error)
NewTask creates a new downloader instance.
func (*Downloader) Start ¶
func (d *Downloader) Start(concurrency int) error
Start begins downloading segments with specified concurrency.
Click to show internal directories.
Click to hide internal directories.