s3

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2017 License: Apache-2.0 Imports: 8 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
}

S3 represents AWS S3 service.

func New

func New(bucket, prefix string, option session.Options) (*S3, error)

Please refer to http://docs.aws.amazon.com/sdk-for-go/api/aws/session/ for how to set credentials and configuration when creating a session.

func (*S3) CopyPrefix added in v0.2.0

func (s *S3) CopyPrefix(from string) error

func (*S3) Delete

func (s *S3) Delete(key string) error

func (*S3) Get

func (s *S3) Get(key string) (io.ReadCloser, error)

func (*S3) List

func (s *S3) List() ([]string, error)

func (*S3) Put

func (s *S3) Put(key string, rs io.ReadSeeker) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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