pkg

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppHost added in v0.2.0

func AppHost() string

func AppID added in v0.2.0

func AppID() string

AppID get appID

func AppInstance added in v0.2.0

func AppInstance() string

func AppLogDir added in v0.2.0

func AppLogDir() string

func AppMode added in v0.2.0

func AppMode() string

func AppRegion added in v0.2.0

func AppRegion() string

func AppVersion added in v0.2.0

func AppVersion() string

AppVersion get buildAppVersion

func AppZone added in v0.2.0

func AppZone() string

func BuildHost added in v0.2.0

func BuildHost() string

BuildHost get buildHost

func BuildTime added in v0.2.0

func BuildTime() string

BuildTime get buildTime

func BuildUser added in v0.2.0

func BuildUser() string

BuildUser get buildUser

func GoVersion added in v0.2.0

func GoVersion() string

GoVersion get go version

func HostName

func HostName() string

HostName get host name

func InitEnv added in v0.2.0

func InitEnv()

func JupiterVersion added in v0.2.0

func JupiterVersion() string

JupiterVersion get jupiterVersion

func LogDir added in v0.3.3

func LogDir() string

func Name

func Name() string

Name gets application name.

func PrintVersion

func PrintVersion()

PrintVersion print formated version info

func SetAppHost added in v0.2.0

func SetAppHost(host string)

func SetAppID added in v0.2.0

func SetAppID(s string)

SetAppID set appID

func SetAppInstance added in v0.3.4

func SetAppInstance(instance string)

func SetAppLogDir added in v0.2.0

func SetAppLogDir(logDir string)

func SetAppMode added in v0.2.0

func SetAppMode(mode string)

func SetAppRegion added in v0.2.0

func SetAppRegion(region string)

func SetAppVersion added in v0.4.7

func SetAppVersion(s string)

SetAppVersion set appVersion

func SetAppZone added in v0.2.0

func SetAppZone(zone string)

func SetBuildTime added in v0.2.0

func SetBuildTime(param string)

SetBuildTime set buildTime

func SetName added in v0.2.0

func SetName(s string)

SetName set app anme

func StartTime added in v0.2.0

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