s3

package
v0.0.0-...-0a9a495 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(filePath, bucket, key string) error

func KeyExists

func KeyExists(bucket, key string) bool

func Read

func Read(bucket, key string) (io.ReadCloser, error)

Read reads the content of an object from an S3 bucket. It returns an io.ReadCloser that should be closed after use.

func UploadFile

func UploadFile(filePath string, bucket, key *string, s3Uploader *s3manager.Uploader, private bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL