Documentation ¶
Index ¶
- type Config
- type MinioStorage
- func (storage *MinioStorage) BasePath() string
- func (storage *MinioStorage) CopyObject(ctx context.Context, from string, to string) error
- func (storage *MinioStorage) DeleteObject(ctx context.Context, key string) error
- func (storage *MinioStorage) DeleteObjectsWithPrefix(ctx context.Context, prefix string) (err error)
- func (storage *MinioStorage) GetObject(ctx context.Context, key string) (io.ReadCloser, error)
- func (storage *MinioStorage) GetObjectSize(ctx context.Context, key string) (int64, error)
- func (storage *MinioStorage) PutObject(ctx context.Context, key string, contentType string, size int64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinioStorage ¶
type MinioStorage struct {
// contains filtered or unexported fields
}
func NewMinioStorage ¶
func NewMinioStorage(config Config) (*MinioStorage, error)
func (*MinioStorage) BasePath ¶
func (storage *MinioStorage) BasePath() string
func (*MinioStorage) CopyObject ¶
func (*MinioStorage) DeleteObject ¶
func (storage *MinioStorage) DeleteObject(ctx context.Context, key string) error
func (*MinioStorage) DeleteObjectsWithPrefix ¶
func (storage *MinioStorage) DeleteObjectsWithPrefix(ctx context.Context, prefix string) (err error)
func (*MinioStorage) GetObject ¶
func (storage *MinioStorage) GetObject(ctx context.Context, key string) (io.ReadCloser, error)
func (*MinioStorage) GetObjectSize ¶
Click to show internal directories.
Click to hide internal directories.