package objectstorage

import "context"

const (
	DriverDisabled = ""
	DriverS3       = "s3"
	DriverOSS      = "oss"
)

// Storage owns binary object persistence for media payloads.
type Storage interface {
	Driver() string
	Put(ctx context.Context, key string, contentType string, body []byte) error
	Get(ctx context.Context, key string) ([]byte, error)
	Delete(ctx context.Context, key string) error
}
