Documentation ¶
Index ¶
Constants ¶
View Source
const ( GddBanner envVariable = "GDD_BANNER" GddBannerText envVariable = "GDD_BANNERTEXT" // GddLogLevel please reference logrus.ParseLevel GddLogLevel envVariable = "GDD_LOGLEVEL" GddLogPath envVariable = "GDD_LOGPATH" GddGraceTimeout envVariable = "GDD_GRACETIMEOUT" GddWriteTimeout envVariable = "GDD_WRITETIMEOUT" GddReadTimeout envVariable = "GDD_READTIMEOUT" GddIdleTimeout envVariable = "GDD_IDLETIMEOUT" GddOutput envVariable = "GDD_OUTPUT" GddRouteRootPath envVariable = "GDD_ROUTE_ROOT_PATH" GddServiceName envVariable = "GDD_SERVICE_NAME" // GddNodeName if not provided, Memberlist will use hostname instead GddNodeName envVariable = "GDD_NODE_NAME" GddHost envVariable = "GDD_HOST" // GddPort http port GddPort envVariable = "GDD_PORT" GddMemPort envVariable = "GDD_MEM_PORT" GddBaseUrl envVariable = "GDD_BASE_URL" GddSeed envVariable = "GDD_SEED" // Accept 'mono' for monolith mode or 'micro' for microservice mode GddMode envVariable = "GDD_MODE" // GddManage if true, it will add built-in apis with /go-doudou path prefix for online api document and service status monitor etc. GddManage envVariable = "GDD_MANAGE_ENABLE" // GddManageUser manage api endpoint http basic auth user GddManageUser envVariable = "GDD_MANAGE_USER" // GddManagePass manage api endpoint http basic auth password GddManagePass envVariable = "GDD_MANAGE_PASS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.