s3

package
v0.0.0-...-bcded96 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Upload(string, string) (string, error)
}

Client ...

func NewS3Client

func NewS3Client(region string) (Client, error)

NewS3Client ...

type RealClient

type RealClient struct {
	Uploader *s3manager.Uploader
}

RealClient ...

func (*RealClient) Upload

func (s *RealClient) Upload(bucket string, path string) (string, error)

Upload ...

Jump to

Keyboard shortcuts

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