return etag

This commit is contained in:
nquidox 2025-10-17 23:47:48 +03:00
parent d1542b274e
commit bc6621154b
6 changed files with 34 additions and 12 deletions

View file

@ -12,4 +12,5 @@ type MediaStorage interface {
Upload(ctx context.Context, bucket, object string, reader io.Reader, size int64) error
Get(ctx context.Context, bucket, object string, expires time.Duration, params url.Values) (*url.URL, error)
Delete(ctx context.Context, bucket, object string) error
GetObjectEtag(ctx context.Context, bucketName, object string) (string, error)
}