return etag
This commit is contained in:
parent
d1542b274e
commit
bc6621154b
6 changed files with 34 additions and 12 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue