Documentation
¶
Overview ¶
s3 handles storing documents in AWS S3 buckets.
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 represents the data needed to communicate with AWS S3 service.
func New ¶
New creates a connection to an AWS S3 service bucket.
The parameters access, secret, bucket, and region are issued from AWS.
The parameter content should be a recognized Content-Type to help download applications correctly associate the file contents. AWS allows this to be blank.
The parameter prefix is required so that Flush is a simpler process. Deleting and recreating the bucket is not supported.
func (S3) Flush ¶
func (store S3) Flush()
Flush removes the prefix folder from S3, effectively removing all files/keys.
Click to show internal directories.
Click to hide internal directories.