route

package
v0.0.0-...-4509264 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DeleteFile

func DeleteFile(c *gin.Context)

func Index

func Index(c *gin.Context)

static pages

func IsFileExist

func IsFileExist(file string) bool

func RenameFile

func RenameFile(c *gin.Context)

func ResizeFill

func ResizeFill(c *gin.Context)

func ResizeFit

func ResizeFit(c *gin.Context)

func ResizeThumbnail

func ResizeThumbnail(c *gin.Context)

func ResizeThumbnailOnTheFly

func ResizeThumbnailOnTheFly(c *gin.Context)

func ShowOnTheFly

func ShowOnTheFly(c *gin.Context)

func StaticUpload

func StaticUpload(c *gin.Context)

func UploadByUrl

func UploadByUrl(c *gin.Context)

func UploadSendFile

func UploadSendFile(c *gin.Context)

Types

type DATA

type DATA struct {
	Filename string `json:"filename"`
	Message  string `json:"message"`
	Url      string `json:"url"`
}

type ERROR

type ERROR struct {
	HasError     bool   `json:"has_error"`
	ErrorNumber  int    `json:"error_number"`
	ErrorMessage string `json:"error_message"`
}

type RESPONSE

type RESPONSE struct {
	Data  DATA  `json:"data"`
	Error ERROR `json:"error"`
}

Jump to

Keyboard shortcuts

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