s3

package
v0.0.0-...-e4941af Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewS3Session

func NewS3Session(region string) (*session.Session, error)

NewS3Session creates a new S3 session

func UploadFile

func UploadFile(s *session.Session, bucket, filename string, file io.Reader) (err error)

UploadFile uploads a file to s3

Types

This section is empty.

Jump to

Keyboard shortcuts

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