Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile downloads a file from an S3 bucket and returns the local file path.
func ParseS3Uri ¶
ParseS3Uri takes an S3 URI string and returns the bucket and key components. It expects the URI to be in the format "s3://<bucket>/<key>". If the URI format is invalid, it panics with an error message.
func UploadFile ¶
func UploadFile(localFile, bucket, key string)
UploadFile uploads a local file to an S3 bucket.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.