Documentation

Overview

    Package s3 - simple for s3.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type S3

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

      S3 struct.

      func New

      func New(AWSID, AWSKEY, Region, Bucket string) *S3

        New to new a ses.S3

        func (S3) Get

        func (s S3) Get(Key string) (*s3.GetObjectOutput, error)

          Get to get a object from s3.

          func (S3) Put

          func (s S3) Put(Key string, Body io.ReadSeeker) (*s3.PutObjectOutput, error)

            Put to put a object into s3.

            Source Files