This commit is contained in:
Josh 2026-01-09 00:16:46 +02:00
commit d69342b2e9
160 changed files with 28681 additions and 0 deletions

View file

@ -0,0 +1,14 @@
package storage
import (
"context"
"io"
"time"
)
type Client interface {
Upload(ctx context.Context, key string, body io.Reader, contentType string) error
Delete(ctx context.Context, key string) error
PresignUpload(ctx context.Context, key string, contentType string, expires time.Duration) (string, error)
PublicURL(key string) string
}