s3

package module
v0.0.0-...-d381a03 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2015 License: MIT Imports: 11 Imported by: 0

README

#S3 GoDoc Package s3 allows to put files to an S3 bucket.

Documentation

Index

Constants

View Source
const (
	Private           = ACL("private")
	PublicRead        = ACL("public-read")
	PublicReadWrite   = ACL("public-read-write")
	AuthenticatedRead = ACL("authenticated-read")
	BucketOwnerRead   = ACL("bucket-owner-read")
	BucketOwnerFull   = ACL("bucket-owner-full-control")
)

Variables

View Source
var (
	APNortheast  = Region(aws.APNortheast)
	APSoutheast  = Region(aws.APSoutheast)
	APSoutheast2 = Region(aws.APSoutheast2)
	EUWest       = Region(aws.EUWest)
	USEast       = Region(aws.USEast)
	USWest       = Region(aws.USWest)
	USWest2      = Region(aws.USWest2)
	SAEast       = Region(aws.SAEast)
	CNNorth      = Region(aws.CNNorth)
)

Functions

func Put

func Put(c Config) gonzo.Stage

Types

type ACL

type ACL s3.ACL

type Config

type Config struct {
	AccessKey string
	SecretKey string
	Region    Region
	Name      string
	Perm      ACL
}

type Region

type Region aws.Region

Jump to

Keyboard shortcuts

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