minio/pkgs/storage/storage.go
Harshavardhana 62797cd6a7 Merge pull request #125 from fkautz/pr_out_removing_unneeded_comment_from_storage_objectstorage
Removing unneeded comment from storage.ObjectStorage
2014-12-14 22:08:50 -08:00

16 lines
262 B
Go

package storage
import "io"
type ObjectStorage interface {
List() ([]ObjectDescription, error)
Get(path string) (io.Reader, error)
Put(path string, object io.Reader) error
}
type ObjectDescription struct {
Name string
Md5sum string
Murmur3 string
}