s3

package
v0.0.0-...-baa204d Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 interface {
	UploadResume(id int, fh *multipart.FileHeader) (err error)
}

An S3 defines an interface uploading files to S3 like services.

func NewS3

func NewS3() S3

NewS3 creates a new S3 based on the environment mode present. In development mode it will return a mock s3 instance and in every other mode (really just production) it will return an aws s3 instance.

Directories

Path Synopsis
Package mock provides a Mailer interface to upload files to AWS S3.
Package mock provides a Mailer interface to upload files to AWS S3.
Package mock provides a S3 interface for uploading files.
Package mock provides a S3 interface for uploading files.

Jump to

Keyboard shortcuts

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