2019-01-06 06:44:33 +08: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-06-01 07:12:36 +08:00
|
|
|
// Storage is a storage powered by a Backend which makes the necessary
|
2019-01-06 06:44:33 +08:00
|
|
|
// verifications when fetching and saving data to ensure consistency.
|
|
|
|
type Storage struct {
|
2021-03-02 19:00:18 +08:00
|
|
|
Users users.Store
|
2019-01-06 07:01:16 +08:00
|
|
|
Share *share.Storage
|
|
|
|
Auth *auth.Storage
|
2019-01-06 06:44:33 +08:00
|
|
|
Settings *settings.Storage
|
|
|
|
}
|