Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Uploader ¶
Uploader stores configurations for uploading
func NewUploader ¶
func NewUploader(c client.ConfigProvider, options ...func(*Uploader)) *Uploader
NewUploader creates an uploader
func (*Uploader) Upload ¶
Upload uploads the contents of reader to the s3 location specified by input. The upload is multi-part and will resume, preserving it's progress if the upload is interrupted for any reason.
func (*Uploader) UploadFile ¶
func (u *Uploader) UploadFile(name string, input s3.PutObjectInput) error
UploadFile uploads the contents of a file to the s3 location specified by input. The upload is multi-part and will resume, preserving it's progress if the upload is interrupted for any reason.
Click to show internal directories.
Click to hide internal directories.