18 lines
		
	
	
		
			475 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			475 B
		
	
	
	
		
			Go
		
	
	
	
package storage
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/gtsteffaniak/filebrowser/auth"
 | 
						|
	"github.com/gtsteffaniak/filebrowser/settings"
 | 
						|
	"github.com/gtsteffaniak/filebrowser/share"
 | 
						|
	"github.com/gtsteffaniak/filebrowser/users"
 | 
						|
)
 | 
						|
 | 
						|
// Storage is a storage powered by a Backend which makes the necessary
 | 
						|
// verifications when fetching and saving data to ensure consistency.
 | 
						|
type Storage struct {
 | 
						|
	Users    users.Store
 | 
						|
	Share    *share.Storage
 | 
						|
	Auth     *auth.Storage
 | 
						|
	Settings *settings.Storage
 | 
						|
}
 |