s3

package
v0.0.0-...-52be6ea Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const BUF_LEN = 1 << 20 // 1 MB

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Connection

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

func New

func New(key string, secret string, region string) *S3Connection

func (*S3Connection) DownloadFile

func (s *S3Connection) DownloadFile(remote string, local string) (err error)

func (*S3Connection) IsConnected

func (s *S3Connection) IsConnected() bool

func (*S3Connection) UploadFile

func (s *S3Connection) UploadFile(local string, remote string, contenttype string) (err error)

Jump to

Keyboard shortcuts

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