Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Download ¶
type Download struct {
Name, Url string
ContentLength int64
Path *Path
Progress *mpb.Progress
Bar *Bar
}
func NewDownload ¶
Returns a Download instance. The Download instance is used to download and extract the associated file.
func (*Download) DownloadAndShowProgress ¶
Downloads the associated file to the URL and shows progress.
func (*Download) ExtractAndShowProgress ¶
Extracts the zip file associated and shows progress.
func (*Download) ProgressShutdown ¶
func (d *Download) ProgressShutdown()
Shuts down the progress bar.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.