S3

package
v0.0.55 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyObject added in v0.0.36

func CopyObject(bucketSource, bucketTarget, keySource, keyTarget string) error

func DeleteObject added in v0.0.48

func DeleteObject(bucket, key string) error

func GetObject

func GetObject(bucket, fileName string) ([]byte, error)

func IsDifferent added in v0.0.55

func IsDifferent(bucket_base, bucket_target, key_base, key_target string) (bool, error)

func ListBucketObject added in v0.0.35

func ListBucketObject(bucket string) ([]string, error)

func ObjectExists added in v0.0.36

func ObjectExists(bucket, key string) bool

func PutObject

func PutObject(bucket, filename string, data []byte) error

func PutObjectStream added in v0.0.39

func PutObjectStream(bucket, filename string, stream io.ReadCloser, contentType, encoding, md5 *string) error

func SyncBucket added in v0.0.37

func SyncBucket(bucket string, bucketsTarget ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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