Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStreamOffline = errors.New("Stream offline") ErrTargetVideoNotFound = errors.New("Target not found") )
Functions ¶
func GetMetadataFileName ¶
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func New ¶
func New(name string, client HTTPClient) *Downloader
func (*Downloader) Download ¶
func (d *Downloader) Download(stream Stream) error
func (Downloader) DownloadChunk ¶
func (d Downloader) DownloadChunk(chunkURL string) error
func (Downloader) DownloadChunks ¶
func (d Downloader) DownloadChunks(stream Stream) error
func (Downloader) Notify ¶
func (d Downloader) Notify(message string)
func (*Downloader) Start ¶
func (d *Downloader) Start()
Click to show internal directories.
Click to hide internal directories.