|
|
@ -4,7 +4,6 @@ import "io" |
|
|
|
|
|
|
|
|
|
|
|
type ObjectStorage interface { |
|
|
|
type ObjectStorage interface { |
|
|
|
List() ([]ObjectDescription, error) |
|
|
|
List() ([]ObjectDescription, error) |
|
|
|
// ListBucket(bucketName string) ([]ObjectDescription, error)
|
|
|
|
|
|
|
|
Get(path string) (io.Reader, error) |
|
|
|
Get(path string) (io.Reader, error) |
|
|
|
Put(path string, object io.Reader) error |
|
|
|
Put(path string, object io.Reader) error |
|
|
|
} |
|
|
|
} |
|
|
|