Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadFuncService ¶
type DownloadFuncService struct {
funchandler.FuncService
}
@Title 文件名称: DownloadFuncService.go @Description 描述: DownloadFuncService
@Author 作者: leijianming@163.com 时间(2024-02-18 22:38:21) @Update 作者: leijianming@163.com 时间(2024-02-18 22:38:21)
func NewDownloadFuncService ¶
func NewDownloadFuncService() *DownloadFuncService
func (*DownloadFuncService) Execute ¶
func (this *DownloadFuncService) Execute(c *gin.Context)
@Summary 命令 @Tags 文件服务 @Description download命令
##// @Param filename query string true "file name"
@Success 200 {object} gin.Context @Router /file/download [post]
type Int64FuncService ¶
type Int64FuncService struct {
funchandler.FuncService
}
func NewInt64FuncService ¶
func NewInt64FuncService() *Int64FuncService
func (*Int64FuncService) Execute ¶
func (this *Int64FuncService) Execute(ctx *gin.Context)
@Summary 文件服务 @Description 文件服务 @Tags 文件服务 @Produce json @Accept json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /file/int64 [post]
type UploadFuncService ¶
type UploadFuncService struct {
funchandler.FuncService
}
@Title 文件名称: DownloadFuncService.go @Description 描述: DownloadFuncService
@Author 作者: leijianming@163.com 时间(2024-02-18 22:38:21) @Update 作者: leijianming@163.com 时间(2024-02-18 22:38:21)
func NewUploadFuncService ¶
func NewUploadFuncService() *UploadFuncService
func (*UploadFuncService) ExeFunc ¶
func (this *UploadFuncService) ExeFunc(ctx *gin.Context) (any, error)
func (*UploadFuncService) Execute ¶
func (this *UploadFuncService) Execute(c *gin.Context)
@Summary 命令 @Tags 文件服务 @Description 命令 @Produce json @Accept multipart/form-data @Param file formData file true "file" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /file/upload [post]