amazon

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amazon

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

Amazon holds the session

func New

func New() (amazon *Amazon)

New will create aws session with credentials

func (*Amazon) Delete

func (a *Amazon) Delete(key string) (err error)

Delete a file from S3

func (*Amazon) Save

func (a *Amazon) Save(filepath, filename, mime string, expire bool) (err error)

Save will upload a file to S3

Jump to

Keyboard shortcuts

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