Documentation ¶
Overview ¶
Interfaces for objects that can model Amazon S3. Simplifies testing code that depends on S3 without needing a connection to AWS. Written to supplement the standard S3 package, "launchpad.net/goamz/s3".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket interface { Del(path string) error DelBucket() error Get(path string) (data []byte, err error) GetReader(path string) (rc io.ReadCloser, err error) List(prefix, delim, marker string, max int) (result *goamzs3.ListResp, err error) Put(path string, data []byte, contType string, perm goamzs3.ACL) error PutBucket(perm goamzs3.ACL) error PutReader(path string, r io.Reader, length int64, contType string, perm goamzs3.ACL) error SignedURL(path string, expires time.Time) string URL(path string) string }
Click to show internal directories.
Click to hide internal directories.