Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EN = map[int]string{
0: "ok",
-1: "Unknow type",
-2: "Status Error",
-3: "Status Error",
-4: "Params Error",
-5: "Data Error",
-6: "404 NOT FOUND",
-7: "App key invalid",
-8: "Access key error",
-9: "API sign check error",
-10: "Method no permission",
-20: "token malformed",
-21: "token is not valid yet",
-22: "token is expired",
-23: "token invalid",
-24: "token signature is invalid",
-31: "token contains an invalid number of segments",
-32: "token string should not contain 'bearer '",
-33: "failed to decode token header",
-34: "failed to unmarshal token header",
-35: "failed to decode token claims",
-36: "failed to unmarshal token claims",
-37: "signing method (alg) is unavailable",
-38: "signing method (alg) is unspecified",
-39: "signing method (alg) is invalid",
-101: "NoLogin",
-102: "UserDisabled",
-103: "LogInAgain",
-105: "CaptchaErr",
-106: "UserInactive",
-107: "UserNoMember",
-108: "AppDenied",
-110: "MobileNoVerfiy",
-111: "CsrfNotMatchErr",
-112: "ServiceUpdate",
-113: "UserIDCheckInvalid",
-114: "UserIDCheckInvalidPhone",
-115: "UserIDCheckInvalidCard",
-304: "NotModified",
-307: "TemporaryRedirect",
-400: "RequestErr",
-401: "Unauthorized",
-403: "AccessDenied",
-404: "NothingFound",
-405: "MethodNotAllowed",
-409: "Conflict",
-500: "ServerErr",
-503: "ServiceUnavailable",
-504: "Deadline",
-509: "LimitExceed",
-616: "FileNotExists",
-617: "FileTooLarge",
-625: "FailedTooManyTimes",
-626: "UserNotExist",
-627: "Password Error",
-628: "PasswordTooLeak",
-629: "UsernameOrPasswordErr",
-632: "TargetNumberLimit",
-643: "TargetBlocked",
-650: "UserLevelLow",
-652: "UserDuplicate",
-658: "AccessTokenExpires",
-659: "AccessTokenMissing",
-662: "PasswordHashExpires",
-688: "AreaLimit",
-689: "CopyrightLimit",
-707: "AccountAbnormal",
-870: "DataSourceConfigErr",
-871: "DataSourceConfigFieldNotFound",
-1000: "LinkErr",
-1200: "Degrade",
-1201: "RPCNoClient",
-1202: "RPCNoAuth",
-1203: "RPCConfigErr",
-2201: "RPCNoServer",
-2202: "RPCServeErr",
7000: "TemplateInitErr",
7001: "TemplateSettingErr",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.