Documentation ¶
Index ¶
- type Option
- type S3Conf
- func (c *S3Conf) DeleteObject(bucket, object string) error
- func (c *S3Conf) DownloadData(w io.WriterAt, bucket, object string) (int64, error)
- func (c *S3Conf) HeadObject(ctx context.Context, bucket, object string) error
- func (c *S3Conf) ResolveEndpoint(service, region string, options ...interface{}) (aws.Endpoint, error)
- func (c *S3Conf) UploadData(r io.Reader, bucket, object string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*S3Conf)
func WithAccess ¶
func WithConcurrency ¶
func WithDisableChecksum ¶
func WithDisableChecksum() Option
func WithEndpoint ¶
func WithPartSize ¶
func WithPathStyle ¶
func WithPathStyle() Option
func WithRegion ¶
func WithSecret ¶
type S3Conf ¶
type S3Conf struct {
// contains filtered or unexported fields
}
func (*S3Conf) DeleteObject ¶
func (*S3Conf) DownloadData ¶
func (*S3Conf) HeadObject ¶
func (*S3Conf) ResolveEndpoint ¶
Click to show internal directories.
Click to hide internal directories.