aws

package
v0.0.0-...-851fda1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	S3Client *s3.S3
)

Functions

func DeleteFromS3

func DeleteFromS3(key string) error

DeleteFromS3 remove the key from s3

func UploadToS3

func UploadToS3(filePath string, key string) error

UploadToS3 sends the image from path to s3

func UploadToS3ByMultiPart

func UploadToS3ByMultiPart(file multipart.File, fileName string) error

UploadToS3ByMultiPart sends the image as multiple part to s3

func UploadToS3WithBytes

func UploadToS3WithBytes(bytes []byte, fileName string) error

UploadToS3WithBytes sends the image as bytes 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