Documentation
¶
Overview ¶
Package blobstore provides a wrapper around S3 client.
Index ¶
- Variables
- type FileMetaData
- type Store
- 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)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrFileEmpty = errors.New("file is empty")
)
Functions ¶
This section is empty.
Types ¶
type FileMetaData ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) PresignDeleteObject ¶
func (*Store) PresignGetObject ¶
Click to show internal directories.
Click to hide internal directories.