Documentation ¶
Index ¶
Constants ¶
View Source
const ( CACHE_ARTICLE = "ARTICLE" CACHE_TAG = "TAG" )
View Source
const ( SUCCESS = 200 ERROR = 500 INVALID_PARAMS = 400 NOT_FOUND = 404 ERROR_AUTH_CHECK_TOKEN_FAIL = 10001 ERROR_AUTH_CHECK_TOKEN_TIMEOUT = 10002 ERROR_AUTH_TOKEN = 10003 ERROR_AUTH = 10004 ERROR_AUTH_NOT_FOUND_TOKEN = 10005 ERROR_USER_EXIST = 20001 ERROR_USER_NOT_EXIST = 20002 ERROR_POST_EXIST = 30001 ERROR_POST_NOT_EXIST = 30002 ERROR_COMMENT = 40001 )
500 Internal Server Error 服务器内部错误,无法完成请求 501 Not Implemented 服务器不支持请求的功能,无法完成请求 502 Bad Gateway 作为网关或者代理工作的服务器尝试执行请求时,从远程服务器接收到了一个无效的响应 503 Service Unavailable 由于超载或系统维护,服务器暂时的无法处理客户端的请求。延时的长度可包含在服务器的Retry-After头信息中 504 Gateway Time-out 充当网关或代理的服务器,未及时从远端服务器获取请求 505 HTTP Version not supported 服务器不支持请求的HTTP协议的版本,无法完成处理 业务代码
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.