Documentation ¶
Index ¶
- func AppInstance() string
- func AppMode() string
- func AppRegion() string
- func AppVersion() string
- func AppZone() string
- func BuildHost() string
- func BuildStatus() string
- func BuildTime() string
- func BuildUser() string
- func EgoGovernorEnableConfig() bool
- func EgoLogExtraKeys() []string
- func EgoLogPath() string
- func EgoLogTimeType() string
- func EgoLogWriter() string
- func EgoTraceIDName() string
- func EgoVersion() string
- func EnableLoggerAddApp() bool
- func GoVersion() string
- func HostName() string
- func IsDevelopmentMode() bool
- func Name() string
- func PrintVersion()
- func SetEgoDebug(flag string)
- func StartTime() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EgoGovernorEnableConfig ¶ added in v0.8.1
func EgoGovernorEnableConfig() bool
EgoGovernorEnableConfig ...
func EgoLogExtraKeys ¶ added in v0.5.8
func EgoLogExtraKeys() []string
EgoLogExtraKeys 获取自定义loggerKeys
func EnableLoggerAddApp ¶ added in v0.3.4
func EnableLoggerAddApp() bool
EnableLoggerAddApp 日志是否记录应用名信息
func SetEgoDebug ¶ added in v1.1.0
func SetEgoDebug(flag string)
SetEgoDebug 设置调试模式,"true" or "false"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.