makeless_go_storage_amazon_s3

package module
v0.0.0-...-ef0361c Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 10 Imported by: 0

README

Makeless - Storage Amazon S3

Makeless - SaaS Framework - Golang Storage Amazon S3 Implementation

Build Status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Bucket string
	Config aws.Config

	*sync.RWMutex
	// contains filtered or unexported fields
}

func (*Storage) Exists

func (storage *Storage) Exists(filepath string) (bool, error)

func (*Storage) GetBucket

func (storage *Storage) GetBucket() string

func (*Storage) GetConfig

func (storage *Storage) GetConfig() aws.Config

func (*Storage) GetSession

func (storage *Storage) GetSession() *session.Session

func (*Storage) Init

func (storage *Storage) Init() error

func (*Storage) Read

func (storage *Storage) Read(filepath string) ([]byte, error)

func (*Storage) Remove

func (storage *Storage) Remove(filepath string) error

func (*Storage) Write

func (storage *Storage) Write(filepath string, data []byte) error

Jump to

Keyboard shortcuts

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