common

package
v0.0.0-...-8103e8d Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendErrJSON

func SendErrJSON(msg string, args ...interface{})

SendErrJSON 有错误发生时,发送错误JSON

func SiteInfo

func SiteInfo(c *gin.Context)

SiteInfo 返回网站信息

func Upload

func Upload(c *gin.Context) (map[string]interface{}, error)

Upload 文件上传

func UploadHandler

func UploadHandler(c *gin.Context)

UploadHandler 文件上传

Types

This section is empty.

Jump to

Keyboard shortcuts

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