Documentation ¶
Index ¶
Constants ¶
View Source
const ( IdType_UUID = "uuid" IdType_Number = "number" IdType_TimeNumber = "timenumber" IdType_MongoDB = "mongodb" )
Variables ¶
This section is empty.
Functions ¶
func CreateGlobalID ¶
创建GlobalID Author: panxinming CreateTime: 2017-02-16 11:00 HttpMethod:Get Route Param: idtype: 代表请求ID方式,目前支持:uuid、number、timenumber、mongodb Get Param: appid: 代表请求的应用 module: 代表请求应用某特定模块
返回结构:HandlerResponse 0: 成功 -100001:idtype is empty -100002:appid & module is empty -201001:no config RedisID_Global Redis -201002:create global number error redis Response.Message = GlobalID //string
UPDATE LOG: 1、初始版本 --2017-02-16 11:00 by pxm
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.