s3

package
v0.16.17 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2015 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(path string) (*http.Response, error)

Download

func Request

func Request(method, path string, body io.Reader) (*http.Response, error)

Request

func RequestURL

func RequestURL(path string) (string, error)

RequestURL

func Upload

func Upload(path string, body io.Reader) error

Upload

Types

type S3

type S3 interface {
	RequestURL(path string) (string, error)
	Download(path string) (*http.Response, error)
	Upload(path string, body io.Reader) error
	Request(method, path string, body io.Reader) (*http.Response, error)
}
var (
	Default S3 = s3{}
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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