Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Downloader ¶
type Downloader struct {
URL string `json:"url"`
Started *time.Time `json:"started"`
Completed *time.Time `json:"completed"`
Running bool `json:"running"`
Done bool `json:"done"`
FindCmd *cmd.Cmd `json:"-"`
StatusChan <-chan cmd.Status `json:"-"`
Ticker *time.Ticker `json:"-"`
StdOut []string `json:"std_out"`
StdErr []string `json:"std_err"`
Error bool `json:"error"`
Filename *string `json:"filename"`
AudioETA *string `json:"audio_eta"`
VideoETA *string `json:"video_eta"`
AudioDownloaded bool `json:"audio_ready"`
VideoDownloaded bool `json:"video_ready"`
AudioStarted bool `json:"-"`
VideoStarted bool `json:"-"`
FullStdErr []string `json:"-"`
}
Downloader struct containing info regarding a executable command
Click to show internal directories.
Click to hide internal directories.