s3

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectS3

func ConnectS3(region string) (*s3.Client, error)

func DownloadObject

func DownloadObject(client *s3.Client, bucket string, object string, fileName string) (err error)

func GetObject

func GetObject(client *s3.Client, bucket string, object string) ([]byte, error)

func ListBuckets

func ListBuckets(client *s3.Client) ([]string, error)

func ListObjects

func ListObjects(client *s3.Client, bucket string) (objects []string, err error)

func UploadObject

func UploadObject(client *s3.Client, bucket string, object string, fileName string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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