Documentation ¶
Overview ¶
Package pkg @Description: 外部应用程序可以使用的库代码
Index ¶
- func AppHost() string
- func AppID() string
- func AppInstance() string
- func AppLogDir() string
- func AppMode() string
- func AppRegion() string
- func AppVersion() string
- func AppZone() string
- func BuildHost() string
- func BuildTime() string
- func BuildUser() string
- func GoVersion() string
- func HostName() string
- func InitEnv()
- func LogDir() string
- func Name() string
- func OxVersion() string
- func PrintVersion()
- func SetAppHost(host string)
- func SetAppID(s string)
- func SetAppInstance(instance string)
- func SetAppLogDir(logDir string)
- func SetAppMode(mode string)
- func SetAppRegion(region string)
- func SetAppZone(zone string)
- func SetBuildTime(param string)
- func SetName(s string)
- func StartTime() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppInstance ¶
func AppInstance() string
func SetAppHost ¶
func SetAppHost(host string)
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 SetAppZone ¶
func SetAppZone(zone string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.