s3

package
v0.0.0-...-2f503fb Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (*s3.S3, error)

NewClient returns a new S3 client using the aws session

func ReadFromBucket

func ReadFromBucket(client *s3.S3, bucket string, key string, data []byte) ([]byte, error)

ReadFromBucket reads the data from the provided bucket.

func WriteToBucket

func WriteToBucket(client *s3.S3, bucket string, key string, data []byte) error

WriteToBucket writes the data to the provided bucket

Types

This section is empty.

Jump to

Keyboard shortcuts

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