s3

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT Imports: 5 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 v0.3.1

type Client struct {
	*s3.S3
}

Client is client for AWS S3.

func New

func New() (Client, error)

func (Client) CheckBucket added in v0.3.1

func (c Client) CheckBucket(bucketName string) error

CheckBucket checks bucket existence.

func (Client) IsExists added in v0.3.1

func (c Client) IsExists(opt provider.FileOption) (isExist bool, err error)

IsExists checks file existence from GCS Bucket.

func (Client) UploadFromLocalFile added in v0.3.1

func (c Client) UploadFromLocalFile(opt provider.FileOption) error

UploadFromLocalFile uploads from local file to S3 Bucket.

Jump to

Keyboard shortcuts

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