mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
16 lines
279 B
Go
16 lines
279 B
Go
package storage
|
|
|
|
import "io"
|
|
|
|
type ObjectStorage interface {
|
|
List(objectPath string) ([]ObjectDescription, error)
|
|
Get(path string) (io.Reader, error)
|
|
Put(path string, object io.Reader) error
|
|
}
|
|
|
|
type ObjectDescription struct {
|
|
Name string
|
|
Md5sum string
|
|
Murmur3 string
|
|
}
|