env

package
v3.2.27 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppHost

func AppHost() string

AppHost ...

func AppID

func AppID() string

AppID get appID

func AppInstance

func AppInstance() string

AppInstance ...

func AppMode

func AppMode() string

AppMode ...

func AppRegion

func AppRegion() string

AppRegion ...

func AppZone

func AppZone() string

AppZone ...

func BuildTime

func BuildTime() string

BuildTime get buildTime

func BuildVersion

func BuildVersion() string

BuildVersion AppVersion get buildAppVersion

func GoVersion

func GoVersion() string

GoVersion get go version

func HostName

func HostName() string

HostName get host name

func InitEnv

func InitEnv()

InitEnv ...

func Name

func Name() string

Name gets application name.

func PrintVersion

func PrintVersion()

PrintVersion print format version info

func RatelVersion

func RatelVersion() string

RatelVersion get RatelVersion

func SetAppHost

func SetAppHost(host string)

SetAppHost ...

func SetAppID

func SetAppID(s string)

SetAppID set appID

func SetAppInstance

func SetAppInstance(instance string)

SetAppInstance ...

func SetAppMode

func SetAppMode(mode string)

SetAppMode ...

func SetAppRegion

func SetAppRegion(region string)

SetAppRegion ...

func SetAppZone

func SetAppZone(zone string)

SetAppZone ...

func SetBuildTime

func SetBuildTime(param string)

SetBuildTime set buildTime

func SetBuildVersion

func SetBuildVersion(s string)

SetBuildVersion SetAppVersion set buildVersion

func SetName

func SetName(s string)

SetName set app name

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