You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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
|
|
}
|
|
|