aws

package
v0.0.0-...-2ef9421 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AwsAccessKeyId = os.Getenv("QOR_AWS_ACCESS_KEY_ID")
View Source
var AwsRegion = os.Getenv("QOR_AWS_REGION")
View Source
var AwsSecretAccessKey = os.Getenv("QOR_AWS_SECRET_ACCESS_KEY")
View Source
var AwsSessionToken = os.Getenv("QOR_AWS_SESSION_TOKEN")
View Source
var S3Client *s3.S3

Functions

This section is empty.

Types

type S3

type S3 struct {
	media_library.Base
}

func (S3) GetURLTemplate

func (s S3) GetURLTemplate(option *media_library.Option) (path string)

func (S3) Retrieve

func (s S3) Retrieve(url string) (*os.File, error)

func (S3) Store

func (s S3) Store(url string, option *media_library.Option, reader io.Reader) error

Jump to

Keyboard shortcuts

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