e

package
v0.0.0-...-a72b53e Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SUCCESS        = 200
	INVALID_PARAMS = 400
	ERROR          = 500

	MYSQL_CONN_ERR = 10003000
	MYSQL_ERR      = 10003001
)

Variables

View Source
var MsgFlags = map[int]string{
	SUCCESS:        "请求成功",
	INVALID_PARAMS: "请求参数错误",
	ERROR:          "请求错误",

	MYSQL_CONN_ERR: "MySQL连接失败",
	MYSQL_ERR:      "MySQL操作异常",
}

Functions

func GetMsg

func GetMsg(code int) string

Types

type Code

type Code struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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