Versions in this module Expand all Collapse all v0 v0.1.0 Aug 21, 2015 Changes in this version + const AuthenticatedRead + const BucketOwnerFull + const BucketOwnerRead + const Private + const PublicRead + const PublicReadWrite + type ACL string + type Bucket struct + Name string + func (b *Bucket) Copy(oldPath, newPath string, perm ACL) error + func (b *Bucket) Del(path string) error + func (b *Bucket) DelBucket() (err error) + func (b *Bucket) Get(path string) (data []byte, err error) + func (b *Bucket) GetBucketContents() (*map[string]Key, error) + func (b *Bucket) GetKey(path string) (*Key, error) + func (b *Bucket) GetReader(path string) (rc io.ReadCloser, err error) + func (b *Bucket) GetResponse(path string) (*http.Response, error) + func (b *Bucket) GetTorrent(path string) ([]byte, error) + func (b *Bucket) GetTorrentReader(path string) (io.ReadCloser, error) + func (b *Bucket) Head(path string) (*http.Response, error) + func (b *Bucket) InitMulti(key string, contType string, perm ACL) (*Multi, error) + func (b *Bucket) List(prefix, delim, marker string, max int) (result *ListResp, err error) + func (b *Bucket) ListMulti(prefix, delim string) (multis []*Multi, prefixes []string, err error) + func (b *Bucket) Multi(key, contType string, perm ACL) (*Multi, error) + func (b *Bucket) MultiDel(paths []string) error + func (b *Bucket) Put(path string, data []byte, contType string, perm ACL) error + func (b *Bucket) PutBucket(perm ACL) error + func (b *Bucket) PutHeader(path string, data []byte, customHeaders map[string][]string, perm ACL) error + func (b *Bucket) PutReader(path string, r io.Reader, length int64, contType string, perm ACL) error + func (b *Bucket) PutReaderHeader(path string, r io.Reader, length int64, customHeaders map[string][]string, ...) error + func (b *Bucket) SignedURL(path string, expires time.Time) string + func (b *Bucket) URL(path string) string + type Error struct + BucketName string + Code string + HostId string + Message string + RequestId string + StatusCode int + func (e *Error) Error() string + type Key struct + ETag string + Key string + LastModified string + Owner Owner + Size int64 + StorageClass string + type ListBucketsResp struct + Buckets []Bucket + type ListResp struct + CommonPrefixes []string + Contents []Key + Delimiter string + IsTruncated bool + Marker string + MaxKeys int + Name string + NextMarker string + Prefix string + type Multi struct + Bucket *Bucket + Key string + UploadId string + func (m *Multi) Abort() error + func (m *Multi) Complete(parts []Part) error + func (m *Multi) ListParts() ([]Part, error) + func (m *Multi) PutAll(r ReaderAtSeeker, partSize int64) ([]Part, error) + func (m *Multi) PutPart(n int, r io.ReadSeeker) (Part, error) + type MultiObjectDeleteBody struct + Object []Object + Quiet bool + XMLName xml.Name + type Object struct + Key string + type Owner struct + DisplayName string + ID string + type Part struct + ETag string + N int + Size int64 + type ReaderAtSeeker interface + type S3 struct + HTTPClient func() *http.Client + func New(auth aws.Auth, region aws.Region) *S3 + func (s3 *S3) Bucket(name string) *Bucket + func (s3 *S3) ListBuckets() (result *ListBucketsResp, err error)