s3

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

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

Go to latest
Published: Jan 25, 2022 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 Storage

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

func New

func New(awsKey string, awsSecret string, awsRegion string, awsBucket string) *Storage

func (*Storage) Delete

func (s *Storage) Delete(path string) error

func (*Storage) Get

func (s *Storage) Get(path string) (io.ReadCloser, error)

func (*Storage) Put

func (s *Storage) Put(content io.Reader, path string) error

Jump to

Keyboard shortcuts

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