Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(srcURL string, filename string, flag int, perm fs.FileMode, withProgress bool) (size int64, err error)
Download saves the remote resource to local file with progress support.
func DownloadAsBytes ¶ added in v1.4.0
DownloadAsBytes fetches the resource and returns its raw byte content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.