aws

package
v0.0.0-...-f887261 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TestImgBase64 = `` /* 213446-byte string literal not displayed */

Variables

View Source
var (
	ErrSuperheroesS3BucketIsEmpty = fmt.Errorf("aws SuperheroesS3Bucket value is empty in PutObject")
	ErrContentEncodingIsEmpty     = fmt.Errorf("aws ContentEncoding value is empty in PutObject")
	ErrContentTypeIsEmpty         = fmt.Errorf("aws ContentType value is empty in PutObject")
	ErrDataBufferIsEmpty          = fmt.Errorf("data buffer passed into PutObject is empty or nil")
	ErrS3BucketKeyIsEmpty         = fmt.Errorf("s3 bucket key passed into PutObject is empty")
)

Functions

This section is empty.

Types

type AWS

type AWS interface {
	PutObject(buffer []byte, key string) error
}

AWS interface defines AWS methods.

func New

func New(cfg *config.Config) (AWS, error)

New configures and returns AWS.

Jump to

Keyboard shortcuts

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