s3

package
v0.0.0-...-78f22da Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

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

func New

func New(region string, creds *credentials.Credentials) (*S3, error)

func (*S3) ListObjects

func (s *S3) ListObjects(bucket string, nextToken *string) ([]*s3.Object, error)

func (*S3) PutObject

func (s *S3) PutObject(bucket string, key string, object []byte) error

func (*S3) UploadObject

func (s *S3) UploadObject(bucket string, key string, object io.Reader) (*s3manager.UploadOutput, error)

Jump to

Keyboard shortcuts

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