system

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppInstance

func GetAppInstance() string

func GetAppName

func GetAppName() string

func GetEnv

func GetEnv(key string) string

func GetHostIp

func GetHostIp() string

func GetHostName

func GetHostName() string

func GetInstanceId

func GetInstanceId() string

func GetServerDomainSuffix

func GetServerDomainSuffix() string

func GetServiceDomainSuffix

func GetServiceDomainSuffix() string

func GetStartTime

func GetStartTime() time.Time

func GetWorkEnv

func GetWorkEnv() string

func GetWorkIdc

func GetWorkIdc() string

func InK8s

func InK8s() bool

func SetupAppName

func SetupAppName(appN string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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