s3storage

package
Version: 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: 6 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)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL