Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 服务级错误码 ServerError = 10101 TooManyRequests = 10102 ParamBindError = 10103 AuthorizationError = 10104 CallHTTPError = 10105 ResubmitError = 10106 ResubmitMsg = 10107 HashIdsDecodeError = 10108 SignatureError = 10109 // 业务模块级错误码 // 用户模块 IllegalUserName = 20101 UserCreateError = 20102 UserUpdateError = 20103 UserSearchError = 20104 // 授权调用方 AuthorizedCreateError = 20201 AuthorizedListError = 20202 AuthorizedDeleteError = 20203 AuthorizedUpdateError = 20204 AuthorizedDetailError = 20205 AuthorizedCreateAPIError = 20206 AuthorizedListAPIError = 20207 AuthorizedDeleteAPIError = 20208 // 管理员 AdminCreateError = 20301 AdminListError = 20302 AdminDeleteError = 20303 AdminUpdateError = 20304 AdminResetPasswordError = 20305 AdminLoginError = 20306 AdminLogOutError = 20307 AdminModifyPasswordError = 20308 AdminModifyPersonalInfoError = 20309 AdminMenuListError = 20310 AdminMenuCreateError = 20311 // 配置 ConfigEmailError = 20401 ConfigSaveError = 20402 ConfigRedisConnectError = 20403 ConfigMySQLConnectError = 20404 ConfigMySQLInstallError = 20405 ConfigGoVersionError = 20406 // 实用工具箱 SearchRedisError = 20501 ClearRedisError = 20502 SearchRedisEmpty = 20503 SearchMySQLError = 20504 // 菜单栏 MenuCreateError = 20601 MenuUpdateError = 20602 MenuListError = 20603 MenuDeleteError = 20604 MenuDetailError = 20605 MenuCreateActionError = 20606 MenuListActionError = 20607 MenuDeleteActionError = 20608 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.