storage

package
v0.0.0-...-88fb584 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 7 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 NewStorage

func NewStorage(awsConfig aws.Config, bucketName string) *Storage

func (*Storage) Get

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

func (*Storage) Move

func (s *Storage) Move(sourceKey string, targetKey string) error

func (*Storage) Put

func (s *Storage) Put(key string, reader io.Reader) (*string, error)

Jump to

Keyboard shortcuts

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