Documentation ¶
Overview ¶
Package upload defines a service for uploading one or more file paths to AWS S3. Uploading each individual file should happen in a non-blocking manner. The work of actually calling to the AWS SDK for S3 is delegated to the `s3` package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Uploader ¶
Uploader uploads files from one or more local paths to AWS S3
func NewUploader ¶
func NewUploader( shouldDeleteFileAfterUpload bool, shouldWatchPaths bool, numConcurrentUploads int, s3Uploader s3.S3Uploader, keyTemplate tpl.KeyTemplate, logger *logrus.Logger, ) Uploader
NewUploader creates a new service to upload files to S3
Click to show internal directories.
Click to hide internal directories.