eapp

package
v1.1.19 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 11 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppInstance added in v0.3.9

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 added in v0.9.1

func BuildStatus() string

BuildStatus get buildStatus

func BuildTime

func BuildTime() string

BuildTime get buildTime

func BuildUser

func BuildUser() string

BuildUser get buildUser

func EgoGovernorEnableConfig added in v0.8.1

func EgoGovernorEnableConfig() bool

EgoGovernorEnableConfig ...

func EgoLogEnableAddCaller added in v1.1.9

func EgoLogEnableAddCaller() bool

EgoLogEnableAddCaller ...

func EgoLogExtraKeys added in v0.5.8

func EgoLogExtraKeys() []string

EgoLogExtraKeys returns custom extra log keys.

func EgoLogPath added in v0.3.4

func EgoLogPath() string

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

func EgoLogTimeType added in v0.8.2

func EgoLogTimeType() string

EgoLogTimeType ...

func EgoLogWriter added in v0.8.0

func EgoLogWriter() string

EgoLogWriter ...

func EgoTraceIDName added in v0.3.6

func EgoTraceIDName() string

EgoTraceIDName returns the key in Metadata for storing traceID

func EgoVersion

func EgoVersion() string

EgoVersion get egoVersion

func EnableLoggerAddApp added in v0.3.4

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 added in v1.1.0

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