env

package
v3.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 8 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 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 GoVersion

func GoVersion() string

GoVersion get go version

func HostName

func HostName() string

HostName get host name

func InitEnv

func 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)

func SetAppID

func SetAppID(s string)

SetAppID set appID

func SetAppInstance

func SetAppInstance(instance 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 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