s3

package
v0.0.0-...-98d7c9a Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideStorage

func ProvideStorage(config Config) internal.Storage

Types

type Config

type Config interface {
	S3URL() string
	Bucket() string
}

type Storage

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

func (Storage) Get

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

func (Storage) Put

func (s Storage) Put(path string, rs io.ReadSeeker) error

Jump to

Keyboard shortcuts

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