|
|
@@ -22,6 +22,7 @@ const ( |
|
|
|
type ObjectStorage interface { |
|
|
|
Save(path string, r io.Reader) (int64, error) |
|
|
|
Open(path string) (io.ReadCloser, error) |
|
|
|
DownloadAFile(bucket string, objectName string) (io.ReadCloser, error) |
|
|
|
Delete(path string) error |
|
|
|
DeleteDir(dir string) error |
|
|
|
PresignedGetURL(path string, fileName string) (string, error) |
|
|
|