pkg

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 10 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 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 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 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.

Directories

Path Synopsis
client
datasource
xfasthttp Module
store
util
xbuffer
Package buffer provides an implementation of an unbounded buffer.
Package buffer provides an implementation of an unbounded buffer.
xgo
xtime
https://github.com/siddontang/go/tree/master/time2
https://github.com/siddontang/go/tree/master/time2
xgeneric Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL