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.
minio/pkgs/storage/storage.go

18 lines
373 B

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