e

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SUCCESS = 10000
	ERROR   = 20000

	ErrorUsernameTooShort     = 30001
	ErrorUsernameTooLong      = 30002
	ErrorUsernameAlreadyExist = 30003
	ErrorPasswordTooShort     = 30004
	ErrorPasswordTooLong      = 30005
	ErrorPasswordNotStrong    = 30006
	ErrorUsernameIncorrect    = 30007
	ErrorPasswordIncorrect    = 30008
	ErrorTokenIncorrect       = 30009
	ErrorTokenExpired         = 30010

	ErrorOperateDatabase = 40001
)

RPC 状态码

Variables

This section is empty.

Functions

func GetMsg

func GetMsg(code int) string

GetMsg 根据状态码获取信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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