s3

package
v0.0.0-...-881522d Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 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 Config

type Config struct {
	AWSSession *session.Session
	Bucket     string
}

type FileStore

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

func New

func New(cfg Config) *FileStore

func (*FileStore) DeleteObject

func (f *FileStore) DeleteObject(key string) error

func (*FileStore) GetObject

func (f *FileStore) GetObject(key string) ([]byte, error)

func (*FileStore) PutObject

func (f *FileStore) PutObject(object []byte, key string) error

Jump to

Keyboard shortcuts

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