Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDownloader ¶
Types ¶
type Downloader ¶
type Downloader interface { Download(files, dirs []string, readPath, writePath string, filterList []string) error DownloadFile(readPath, writePath string, fileDownloadGroup *sync.WaitGroup) error WriteFile(readPath, writePath string, output []byte, err error) error CheckDownload(readPath string, file []string, err error) error GetFilesDownloadedCount() int GetFailedDownloads() []string }
Click to show internal directories.
Click to hide internal directories.