2019-01-05 22:44:33 +00:00
|
|
|
package storage
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/filebrowser/filebrowser/v2/auth"
|
|
|
|
"github.com/filebrowser/filebrowser/v2/settings"
|
|
|
|
"github.com/filebrowser/filebrowser/v2/share"
|
|
|
|
"github.com/filebrowser/filebrowser/v2/users"
|
|
|
|
)
|
|
|
|
|
2020-05-31 23:12:36 +00:00
|
|
|
// Storage is a storage powered by a Backend which makes the necessary
|
2019-01-05 22:44:33 +00:00
|
|
|
// verifications when fetching and saving data to ensure consistency.
|
|
|
|
type Storage struct {
|
2019-01-05 23:01:16 +00:00
|
|
|
Users *users.Storage
|
|
|
|
Share *share.Storage
|
|
|
|
Auth *auth.Storage
|
2019-01-05 22:44:33 +00:00
|
|
|
Settings *settings.Storage
|
|
|
|
}
|