Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func DownloadFile(ctx context.Context, path *paths.Path, URL string, queryParameter string, label string, downloadCB rpc.DownloadProgressCB, config downloader.Config, options ...downloader.DownloadOptions) (returnedError error)
DownloadFile downloads a file from a URL into the specified path. An optional config and options may be passed (or nil to use the defaults). A DownloadProgressCB callback function must be passed to monitor download progress. If a not empty queryParameter is passed, it is appended to the URL for analysis purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.