2015-03-02 18:48:53 +00:00
|
|
|
package physical
|
|
|
|
|
|
|
|
// FileBackend is a physical backend that stores data on disk
|
|
|
|
// at a given file path. It can be used for durable single server
|
|
|
|
// situations, or to develop locally where durability is not critical.
|
|
|
|
type FileBackend struct {
|
|
|
|
}
|
|
|
|
|
2015-03-05 21:47:10 +00:00
|
|
|
// newFileBackend constructs a Filebackend using the given directory
|
|
|
|
func newFileBackend(conf map[string]string) (Backend, error) {
|
2015-03-02 18:48:53 +00:00
|
|
|
// TODO:
|
2015-03-05 21:47:10 +00:00
|
|
|
return nil, nil
|
2015-03-02 18:48:53 +00:00
|
|
|
}
|