filedown

package
v0.0.0-...-e698a40 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MulanPSL-2.0 Imports: 10 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 "filedown name"

@Success		200	{object}	gin.Context
@Router			/filedown/download [post]

type Int641FuncService

type Int641FuncService struct {
	funchandler.FuncService
}

func NewInt641FuncService

func NewInt641FuncService() *Int641FuncService

func (*Int641FuncService) Execute

func (this *Int641FuncService) Execute(ctx *gin.Context)

@Summary int641 @Description 文件服务 @Tags 文件服务 @Produce json @Accept json @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /filedown/int641 [post]

type Int64FuncService

type Int64FuncService struct {
	funchandler.FuncService
}

func NewInt64FuncService

func NewInt64FuncService() *Int64FuncService

func (*Int64FuncService) Execute

func (this *Int64FuncService) Execute(ctx *gin.Context)

@Summary Int64精度 @Description 文件服务 @Tags 文件服务 @Produce json @Accept json @Param X-Session-Token header string true "X-Session-Tiken" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /filedown/int64 [post]

type Int64Stru

type Int64Stru struct {
	I             int64
	XSessionToken string
}

func NewInt64Stru

func NewInt64Stru(i int64) *Int64Stru

func NewInt64Stru1

func NewInt64Stru1(i int64) *Int64Stru

type Int64Stru1

type Int64Stru1 struct {
	I             int64
	XSessionToken string
}

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 filedown formData filedown true "filedown" @Success 200 {object} basedto.IchubResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /filedown/upload [post]

Jump to

Keyboard shortcuts

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