Documentation ¶ Index ¶ type Client func NewClient(ctx context.Context, c config.S3Config) (*Client, error) func (c *Client) Download(ctx context.Context, w io.WriterAt, key string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } Client is a client for S3. func NewClient ¶ func NewClient(ctx context.Context, c config.S3Config) (*Client, error) NewClient returns a new S3 client. func (*Client) Download ¶ func (c *Client) Download(ctx context.Context, w io.WriterAt, key string) error Download uses a download manager to download an object from a bucket. The download manager gets the data in parts and writes them to a buffer until all of the data has been downloaded. Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.