Documentation
¶
Index ¶
- type DelFilesRequestCarrier
- type ExampleController
- type FileController
- func (this *FileController) Del(ctx echo.Context) error
- func (this *FileController) DelFiles(ctx echo.Context) error
- func (this *FileController) Get(ctx echo.Context) error
- func (this *FileController) GetCatalog(ctx echo.Context) error
- func (this *FileController) GetURL(ctx echo.Context) error
- func (this *FileController) Put(ctx echo.Context) error
- type GetCatalogRequestCarrier
- type GetCatalogResopnseCarrier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelFilesRequestCarrier ¶
type DelFilesRequestCarrier struct {
Fids []string `json:"fids" form:"fids" query:"fids"`
}
type ExampleController ¶
type ExampleController struct { }
ExampleController is ...
func NewExampleController ¶
func NewExampleController() *ExampleController
NewExampleController is ...
type FileController ¶
type FileController struct {
// contains filtered or unexported fields
}
FileController is ...
func NewFileController ¶
func NewFileController(logger *flog.Logger, fileSvc xgxw.FileService) *FileController
NewFileController is ...
func (*FileController) DelFiles ¶
func (this *FileController) DelFiles(ctx echo.Context) error
DelFiles is ...
func (*FileController) Get ¶
func (this *FileController) Get(ctx echo.Context) error
Get is 获取File.md
func (*FileController) GetCatalog ¶
func (this *FileController) GetCatalog(ctx echo.Context) error
GetCatalog is ...
type GetCatalogRequestCarrier ¶
type GetCatalogRequestCarrier struct {
Options fstorage.ListOption `json:"options" form:"options" query:"options"`
}
Click to show internal directories.
Click to hide internal directories.