Documentation ¶
Overview ¶
Package s3 implements a generic Amazon S3 client, not specific to Camlistore.
Index ¶
- type Auth
- type Bucket
- type Client
- func (c *Client) Buckets() ([]*Bucket, error)
- func (c *Client) Delete(bucket, key string) error
- func (c *Client) Get(bucket, key string) (body io.ReadCloser, size int64, err error)
- func (c *Client) ListBucket(bucket string, after string, maxKeys int) (items []*Item, err error)
- func (c *Client) PutObject(name, bucket string, md5 hash.Hash, size int64, body io.Reader) error
- func (c *Client) Stat(name, bucket string) (size int64, reterr error)
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
func (*Auth) SignRequest ¶
type Client ¶
func (*Client) ListBucket ¶
ListBucket returns 0 to maxKeys (inclusive) items from the provided bucket. The items will have keys greater than the provided after, which may be empty. (Note: this is not greater than or equal to, like the S3 API's 'marker' parameter). If the length of the returned items is equal to maxKeys, there is no indication whether or not the returned list is truncated.
Click to show internal directories.
Click to hide internal directories.