pkg

package
v0.0.0-...-a89d410 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppHost

func AppHost() string

func AppID

func AppID() string

AppID get appID

func AppInstance

func AppInstance() string

func AppLogDir

func AppLogDir() string

func AppMode

func AppMode() string

AppMode returns the current application mode.

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 GoVersion

func GoVersion() string

GoVersion get go version

func HostName

func HostName() string

HostName get host name

func InitEnv

func InitEnv()

func LogDir

func LogDir() string

func Name

func Name() string

Name gets application name.

func PrintVersion

func PrintVersion()

PrintVersion print formated version info

func SanchinVersion

func SanchinVersion() string

SanchinVersion get sanchinVersion

func SetAppHost

func SetAppHost(host string)

func SetAppID

func SetAppID(s string)

SetAppID set appID

func SetAppInstance

func SetAppInstance(instance string)

func SetAppLogDir

func SetAppLogDir(logDir string)

func SetAppMode

func SetAppMode(mode string)

func SetAppRegion

func SetAppRegion(region string)

func SetAppVersion

func SetAppVersion(s string)

SetAppVersion set appVersion

func SetAppZone

func SetAppZone(zone string)

func SetBuildTime

func SetBuildTime(param string)

SetBuildTime set buildTime

func SetName

func SetName(s string)

SetName set app anme

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