eapp

package
v1.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppInstance

func AppInstance() string

AppInstance returns application instance ID.

func AppMode

func AppMode() string

AppMode returns application running mode.

func AppRegion

func AppRegion() string

AppRegion returns application running region.

func AppVersion

func AppVersion() string

AppVersion get buildAppVersion

func AppZone

func AppZone() string

AppZone returns application running zone.

func BuildHost

func BuildHost() string

BuildHost get buildHost

func BuildStatus

func BuildStatus() string

BuildStatus get buildStatus

func BuildTime

func BuildTime() string

BuildTime get buildTime

func BuildUser

func BuildUser() string

BuildUser get buildUser

func EgoGovernorEnableConfig

func EgoGovernorEnableConfig() bool

EgoGovernorEnableConfig ...

func EgoLogExtraKeys

func EgoLogExtraKeys() []string

EgoLogExtraKeys returns custom extra log keys.

func EgoLogPath

func EgoLogPath() string

EgoLogPath returns application log file directory path when user choose to write log fo file.

func EgoLogTimeType

func EgoLogTimeType() string

EgoLogTimeType ...

func EgoLogWriter

func EgoLogWriter() string

EgoLogWriter ...

func EgoTraceIDName

func EgoTraceIDName() string

EgoTraceIDName returns the key in Metadata for storing traceID

func EgoVersion

func EgoVersion() string

EgoVersion get egoVersion

func EnableLoggerAddApp

func EnableLoggerAddApp() bool

EnableLoggerAddApp returns flag if logger has append app Field to log entry.

func GoVersion

func GoVersion() string

GoVersion get go version

func HostName

func HostName() string

HostName get host name

func IsDevelopmentMode

func IsDevelopmentMode() bool

IsDevelopmentMode returns flag if application is in debug mode.

func Name

func Name() string

Name gets application name.

func PrintVersion

func PrintVersion()

PrintVersion print formatted version info

func SetEgoDebug

func SetEgoDebug(flag string)

SetEgoDebug returns the flag if debug mode has been triggered

func StartTime

func StartTime() string

StartTime get start time

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL