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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// 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-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
|
|
|
|
}
|