gin_context_enhance

package module
v0.0.0-...-07f86b7 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JwtError = 400 + iota
)

Variables

View Source
var ErrorDict = map[int]string{
	JwtError: "登录时身份验证错误",
}

Functions

func ReportError

func ReportError(c *gin.Context, errCode int)

func ReportOtherError

func ReportOtherError(c *gin.Context, errCode int, errMsg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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