s3

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.0.1

type Client struct {
	// contains filtered or unexported fields
}

func ConnectS3

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

func (*Client) DownloadObject added in v1.0.1

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

func (*Client) GetObject added in v1.0.1

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

func (*Client) ListBuckets added in v1.0.1

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

func (*Client) ListObjects added in v1.0.1

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

func (*Client) UploadObject added in v1.0.1

func (client *Client) UploadObject(bucket string, filename string, file string) error

Jump to

Keyboard shortcuts

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