Documentation ¶
Index ¶
- type Client
- func (c *Client) CompletedMultipartUpload(uploadId string, key string, completedParts []*s3.CompletedPart) (resp *s3.CompleteMultipartUploadOutput, err error)
- func (c *Client) CreateFolder(key string) (err error)
- func (c *Client) CreateMultipartUpload(key string) (resp *s3.CreateMultipartUploadOutput, err error)
- func (c *Client) GetObjectAttributes(key string, attributes []*string) (*s3.GetObjectAttributesOutput, error)
- func (c *Client) GetObjectByRange(key string, offset, size int64) (io.ReadCloser, error)
- func (c *Client) HeadObject(key string) (*s3.HeadObjectOutput, error)
- func (c *Client) List(prefix string) ([]*s3.Object, error)
- func (c *Client) UploadPart(uploadId string, body []byte, key string, partNumber int64) (resp *s3.UploadPartOutput, err error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BucketName string WriteTimeout time.Duration DownloadTimeout time.Duration ReadTimeout time.Duration // contains filtered or unexported fields }
func (*Client) CompletedMultipartUpload ¶
func (c *Client) CompletedMultipartUpload(uploadId string, key string, completedParts []*s3.CompletedPart) (resp *s3.CompleteMultipartUploadOutput, err error)
func (*Client) CreateFolder ¶
func (*Client) CreateMultipartUpload ¶
func (c *Client) CreateMultipartUpload(key string) (resp *s3.CreateMultipartUploadOutput, err error)
func (*Client) GetObjectAttributes ¶
func (*Client) GetObjectByRange ¶
func (*Client) HeadObject ¶
func (c *Client) HeadObject(key string) (*s3.HeadObjectOutput, error)
func (*Client) UploadPart ¶
Click to show internal directories.
Click to hide internal directories.