Documentation
¶
Index ¶
- type S3Client
- func (client *S3Client) GetPresignedDownloadUrl(bucketName string, objectKey string, expiration int64) (string, error)
- func (client *S3Client) GetPresignedUploadUrl(bucketName string, objectKey string, expiration int64) (string, error)
- func (client *S3Client) ReadBytes(bucketName string, objectKey string) ([]byte, error)
- func (client *S3Client) RemoveObject(bucketName string, objectKey string) error
- func (client *S3Client) WriteBytes(bucketName string, objectKey string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Client ¶
func NewS3Client ¶
func NewS3Client() *S3Client
func (*S3Client) GetPresignedDownloadUrl ¶
func (*S3Client) GetPresignedUploadUrl ¶
func (*S3Client) RemoveObject ¶
Click to show internal directories.
Click to hide internal directories.