httpclient
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcDownloadFile¶
func DownloadFile(ctxcontext.Context, path *paths.Path, URLstring, queryParameterstring, labelstring, downloadCBrpc.DownloadProgressCB, config downloader.Config, options ...downloader.DownloadOptions) (returnedErrorerror)
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.