s3storage

package
v0.0.0-...-0ccb4e7 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Storage

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

func New

func New(awsSession *session.Session, bucket string, signedUrls bool) (*S3Storage, error)

func (*S3Storage) Delete

func (s *S3Storage) Delete(name string) error

func (*S3Storage) List

func (s *S3Storage) List(prefix string) ([]string, error)

func (*S3Storage) Save

func (s *S3Storage) Save(name string, input io.Reader) error

func (*S3Storage) URL

func (s *S3Storage) URL(name string) (string, error)

Jump to

Keyboard shortcuts

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