errors

package
v0.0.0-...-c62eee3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

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

Variables

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

Functions

func GetMsg

func GetMsg(code int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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