Documentation ¶
Index ¶
Constants ¶
View Source
const ( TAG_GODI = "godi" Json_content_type = "application/json" KEY_SESSION_TOKEN = "X-Session-Token" ErrBadRequest_STATUS = 400 ErrForbidden_STATUS = 403 ErrNotFound_STATUS = 404 ErrInternalServer_STATUS = 500 )
View Source
const ( WEBCLIENT_TYPE_ENGINE = iota + 1 WEBCLIENT_TYPE_DBAGENT WEBCLIENT_TYPE_ESAGENT DB_TYPE_MYSQL = "mysql" DB_TYPE_POSTGRES = "postgres" DB_TYPE_COCKROACH = "cockroach" DB_TYPE_CMS = "cms" DB_TYPE_HUB = "hub" //medusa DB_TYPE_MEDUSA = "medusa" //path file os IchubBasePath = "BasePath" IchubBasePathPkg = "BasePathPkg" ConfigfileIchubEnv = "/config/env.yml" DEFINE_ENV_PATHFILE = ConfigfileIchubEnv ENV_DEFAULT = "default" ENV_EMPTY = "" //ENV_LOCAL = "local" ENV_DEV = "dev" ENV_TEST = "test" ENV_RELEASE = "release" ENV_MASTER = "master" ICHUBCOMMON_LOG_FILE = "common.log" ICHUBENGINGE_LOG_FILE = "ichub_rule.log" FACTROY_LOG_FILE = "factroy.log" //code RetCode_SUCCESS RetCode = 200 RetCode_ERROR RetCode = 500 //page size PAGE_CURRENT = 1 PAGE_SIZE_ALL = -1 PAGE_SIZE_ZERO = 0 PAGE_SIZE_DEFAULT = 20 PAGE_SIZE_MAX = 500 //datetime DATETIME_UTC = iota DATETIME_GMT8 ZERO_TIME_INT64 = -62135596800 FormatDate = "2006-01-02" FormatDateTime = "2006-01-02 15:04:05" FormatUTCTime = "2006-01-02T15:04:05.000Z" //baseconfig enccmd ENC_FLAG = "enc(*)" )
View Source
const ( DomainGeneral = "general" //通用域 general DomainOry = "ory" DomainPortal = "portal" //门户 ory /*门户域 portal*/ DomainAccount = "account" //账户域 account DomainContact = "contact" //人脉 cms DomainCms = "cms" //内容域 cms DomainHub = "hub" //合约域 hub DomainBiz = "biz" //业务域 bizframe DomainOrder = "order" //订单域 order DomainLogistics = "logistics" //物流域 logistics DomainFinance = "finance" //财务域 finance DomainOperating = "coo" // 营运域 DomainProduct = "product" //产品域 product*/ ES_ACTION_QUERY = "query" ES_ACTION_AGGREGATE = "agg" ES_ACTION_CMD = "cmd" ES_ACTION_KEYWORD = "keyword" ES_ACTION_METADATA = "meta" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.