aws

package
v0.0.0-...-e3fa223 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Config

type S3Config struct {
	Bucket      string
	Prefix      string
	Region      string
	Credentials string // see notes below
}

type S3Connection

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

func NewS3Connection

func NewS3Connection(s3cfg S3Config) (*S3Connection, error)

func (*S3Connection) Delete

func (conn *S3Connection) Delete(key string) error

func (*S3Connection) Get

func (conn *S3Connection) Get(key string) ([]byte, error)

func (*S3Connection) Head

func (conn *S3Connection) Head(key string) (*s3.HeadObjectOutput, error)

func (*S3Connection) Put

func (conn *S3Connection) Put(key string, body []byte) error

Jump to

Keyboard shortcuts

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