Versions in this module Expand all Collapse all v0 v0.0.0 Oct 11, 2024 Changes in this version + var ErrFileEmpty = errors.New("file is empty") + type FileMetaData struct + FileName string + LastModified time.Time + SizeInBytes uint64 + type Store struct + func New(endpoint string, region string, accessKeyId string, accessKeySecret string) (*Store, error) + func (s *Store) GetList(ctx context.Context, bucketName string, subDir string) ([]FileMetaData, error) + func (s *Store) PresignDeleteObject(ctx context.Context, bucketName string, fileName string) (*v4.PresignedHTTPRequest, error) + func (s *Store) PresignGetObject(ctx context.Context, bucketName string, fileName string) (*v4.PresignedHTTPRequest, error) + func (s *Store) PresignPutObject(ctx context.Context, bucketName string, fileName string, contentType string) (*v4.PresignedHTTPRequest, error)