file

package
v0.0.0-...-23f7283 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2024 License: MulanPSL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

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 Int64Stru

type Int64Stru struct {
	I int64
}

func NewInt64Stru

func NewInt64Stru(i int64) *Int64Stru

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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL