Documentation ¶
Index ¶
- type ConfigS3
- type S3Client
- func (s *S3Client) DeleteFile(ctx context.Context, fileName string) error
- func (s *S3Client) DeleteFolder(ctx context.Context, folder string) error
- func (s *S3Client) DeleteObjects(ctx context.Context, keys []string) error
- func (s *S3Client) GetFile(ctx context.Context, fileName string) (io.ReadCloser, error)
- func (s *S3Client) GetPresignURL(ctx context.Context, fileName string) (string, error)
- func (s *S3Client) GetPureS3Client() *s3.Client
- func (s *S3Client) ListObjects(ctx context.Context, prefix string) ([]string, error)
- func (s *S3Client) SaveFile(ctx context.Context, key string, file io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func (*S3Client) DeleteFile ¶
func (*S3Client) DeleteFolder ¶
func (*S3Client) DeleteObjects ¶
func (*S3Client) GetPresignURL ¶
func (*S3Client) GetPureS3Client ¶
func (*S3Client) ListObjects ¶
Click to show internal directories.
Click to hide internal directories.