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 {
|
2021-03-02 11:00:18 +00:00
|
|
|
Users users.Store
|
2019-01-05 23:01:16 +00:00
|
|
|
Share *share.Storage
|
|
|
|
Auth *auth.Storage
|
2019-01-05 22:44:33 +00:00
|
|
|
Settings *settings.Storage
|
|
|
|
}
|