Documentation ¶
Index ¶
Constants ¶
View Source
const ( BIZ = 100000 // 普通业务异常 GRPC = 300000 // GRPC请求失败 WS_SEND = 999993 // WS发送数据失败 JSON = 999994 // JSON转换异常 NUMBER = 999995 // 数值转换异常 DATA = 999996 // 数据服务异常 CACHE = 999997 // 缓存服务异常 SYSTEM = 999998 // 系统级异常 UNKNOWN = 999999 // 未知异常 MQ = 800000 // MQ服务异常 REDIS_LOCK_ACQUIRE = 800001 // redis锁获取失败 REDIS_LOCK_PENDING = 800002 // redis锁正在处理 REDIS_LOCK_TIMEOUT = 800003 // redis锁自旋超时 )
View Source
const ( JSON_ERR = "failed to respond to JSON data" GOB_ERR = "failed to respond to GOB data" DATA_ERR = "failed to loaded data service" DATA_C_ERR = "failed to save data" DATA_R_ERR = "failed to read data" DATA_U_ERR = "failed to update data" DATA_D_ERR = "failed to delete data" CACHE_ERR = "failed to loaded cache service" CACHE_C_ERR = "failed to save cache data" CACHE_R_ERR = "failed to read cache data" CACHE_U_ERR = "failed to update cache data" CACHE_D_ERR = "failed to delete cache data" MQ_ERR = "failed to loaded mq service" MQ_SEND_ERR = "failed to send mq data" MQ_REVD_ERR = "failed to receive mq data" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.