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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Storage is a storage powered by a Backend whih makes the neccessary
|
|
|
|
// verifications when fetching and saving data to ensure consistency.
|
|
|
|
type Storage struct {
|
2019-01-06 07:01:16 +08:00
|
|
|
Users *users.Storage
|
|
|
|
Share *share.Storage
|
|
|
|
Auth *auth.Storage
|
2019-01-06 06:44:33 +08:00
|
|
|
Settings *settings.Storage
|
|
|
|
}
|