eapp

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 10 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppHost

func AppHost() string

func AppInstance added in v0.3.9

func AppInstance() string

func AppMode

func AppMode() string

func AppRegion

func AppRegion() string

func AppVersion

func AppVersion() string

AppVersion get buildAppVersion

func AppZone

func AppZone() string

func BuildHost

func BuildHost() string

BuildHost get buildHost

func BuildTime

func BuildTime() string

BuildTime get buildTime

func BuildUser

func BuildUser() string

BuildUser get buildUser

func EgoConfigPath

func EgoConfigPath() string

func EgoLogPath added in v0.3.4

func EgoLogPath() string

func EgoTraceIDName added in v0.3.6

func EgoTraceIDName() string

func EgoVersion

func EgoVersion() string

EgoVersion get egoVersion

func EnableLoggerAddApp added in v0.3.4

func EnableLoggerAddApp() bool

func GoVersion

func GoVersion() string

GoVersion get go version

func HostName

func HostName() string

HostName get host name

func InitEnv

func InitEnv()

func IsDevelopmentMode

func IsDevelopmentMode() bool

IsDevelopmentMode 判断是否是生产模式

func Name

func Name() string

Name gets application name.

func PrintVersion

func PrintVersion()

PrintVersion print formated version info

func SetBuildTime

func SetBuildTime(param string)

SetBuildTime set buildTime

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