Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader interface { DownloadFile(string) (int64, string, error) RemoveFile() error SavePath() string }
func NewDownloader ¶
func NewDownloader(saveDir string) Downloader