seaweedfs/weed/storage/backend/backend.go
Chris Lu 9711a6ffaa WIP
2019-11-18 19:24:37 -08:00

20 lines
266 B
Go

package backend
import (
"io"
"time"
)
type DataStorageBackend interface {
io.ReaderAt
io.WriterAt
Truncate(off int64) error
io.Closer
GetStat() (datSize int64, modTime time.Time, err error)
String() string
}
var (
StorageBackends []DataStorageBackend
)