mirror of
https://github.com/minio/minio.git
synced 2025-01-09 22:13:22 -05:00
0148237e22
Add placeholder sha256, sha512 implementations from Intel with AVX, AVX2 and SSE4.1 extensions - with some boilerplate Go code.
17 lines
310 B
Go
17 lines
310 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
|
|
Protectionlevel string
|
|
Hash string
|
|
}
|