file

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Types

type FileloadFuncService

type FileloadFuncService struct {
	funchandler.FuncService
}

func NewFileloadFuncService

func NewFileloadFuncService() *FileloadFuncService

func (*FileloadFuncService) ExecuteDownload

func (this *FileloadFuncService) ExecuteDownload(c *gin.Context)
@Summary		下载命令
@Tags			文件服务
@Description	下载命令

##// @Param filename query string true "file name"

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

func (*FileloadFuncService) ExecuteInt64

func (this *FileloadFuncService) ExecuteInt64(ctx *gin.Context)

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

func (*FileloadFuncService) ExecuteUpload

func (this *FileloadFuncService) ExecuteUpload(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 /upload [post]

type Int64Stru

type Int64Stru struct {
	I int64
}

func NewInt64Stru

func NewInt64Stru(i int64) *Int64Stru

Jump to

Keyboard shortcuts

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