file

package
v0.0.0-...-cfa74d8 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	FileService
}

type FileService

type FileService struct {
}

func (FileService) SaveUploadMultiFile

func (f FileService) SaveUploadMultiFile(fileHeaders []*multipart.FileHeader, ctx *gin.Context, claims *jwtutils.Claims) ([]response.FileInfo, error)

SaveUploadMultiFile @Date 2023-02-20 16:15:20 @Param fileHeader *multipart.FileHeader @Param ctx *gin.Context @Return *file.FileInfo @Return error @Description: 上传文件

func (FileService) SaveUploadSingle

func (f FileService) SaveUploadSingle(fileHeader *multipart.FileHeader, ctx *gin.Context, claims *jwtutils.Claims) (response.FileInfo, error)

Jump to

Keyboard shortcuts

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