Documentation ¶
Index ¶
- Variables
- type Controller
- type DefaultController
- func (d DefaultController) CreateDirectory(c *gin.Context)
- func (d DefaultController) CreateFile(c *gin.Context)
- func (d DefaultController) CreateVolume(c *gin.Context)
- func (d DefaultController) DownloadDirectory(c *gin.Context)
- func (d DefaultController) GetFile(c *gin.Context)
- func (d DefaultController) GetVolume(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(New)
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { CreateVolume(c *gin.Context) CreateFile(c *gin.Context) CreateDirectory(c *gin.Context) GetVolume(c *gin.Context) DownloadDirectory(c *gin.Context) GetFile(c *gin.Context) }
func CreateVolumesController ¶
func CreateVolumesController(cf string, sto storages.Storage, rep repositories.Repository) (Controller, error)
type DefaultController ¶
type DefaultController struct {
// contains filtered or unexported fields
}
func (DefaultController) CreateDirectory ¶
func (d DefaultController) CreateDirectory(c *gin.Context)
func (DefaultController) CreateFile ¶
func (d DefaultController) CreateFile(c *gin.Context)
func (DefaultController) CreateVolume ¶
func (d DefaultController) CreateVolume(c *gin.Context)
func (DefaultController) DownloadDirectory ¶
func (d DefaultController) DownloadDirectory(c *gin.Context)
func (DefaultController) GetFile ¶
func (d DefaultController) GetFile(c *gin.Context)
func (DefaultController) GetVolume ¶
func (d DefaultController) GetVolume(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.