Versions in this module Expand all Collapse all v0 v0.1442.0 Feb 27, 2024 v0.1441.2 Jan 13, 2016 Changes in this version + var ErrUploadCancelled = errors.New("upload cancelled") + type URLUploader struct + func (uploader *URLUploader) Upload(fileLocation string, url *url.URL, cancel <-chan struct{}) (int64, error) + type Uploader interface + Upload func(fileLocation string, destinationUrl *url.URL, cancel <-chan struct{}) (int64, error) + func New(timeout time.Duration, skipSSLVerification bool, logger lager.Logger) Uploader