Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v0.6.0
type Client struct { UserAgent string // contains filtered or unexported fields }
Client is client used to simplified http requests for tarballs
func (*Client) Download ¶ added in v0.6.0
Download takes a url to download and a filepath to write it to this will write the response to any url request to a file.
func (*Client) DownloadFile ¶ added in v0.6.0
DownloadFile expects a url with a file and will save that file to the path provided preserving the file name.
Click to show internal directories.
Click to hide internal directories.