Documentation ¶
Index ¶
- func CheckErrOrFatal(err error)
- func FormatJson(b []byte) (string, error)
- func FormatJsonStr(src string) (string, error)
- func GetMyIp() (string, error)
- func GetServerStatus() (*system_status.SystemStatus, error)
- func GetWords(target string) map[string]bool
- func HostName() (string, error)
- func HostnameOrFatal() string
- func IsTargetIn(target string, list []string) bool
- func JsonString(v interface{}) string
- func JsonStringError(v interface{}) (string, error)
- func MD5(str []byte) string
- func MD5File(filepath string) (string, error)
- func MD5Salt(str, salt string) string
- func Must(err error)
- func OutputJsonString(v interface{})
- func QuitListen()
- func QuitWatch()
- func SaveMapInCurrentWorkDir(name string, m interface{}) error
- func StrMd5(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErrOrFatal ¶
func CheckErrOrFatal(err error)
func FormatJson ¶
func FormatJsonStr ¶
func GetServerStatus ¶
func GetServerStatus() (*system_status.SystemStatus, error)
func HostnameOrFatal ¶
func HostnameOrFatal() string
func IsTargetIn ¶
func JsonString ¶
func JsonString(v interface{}) string
func JsonStringError ¶
func OutputJsonString ¶
func OutputJsonString(v interface{})
func QuitListen ¶
func QuitListen()
func SaveMapInCurrentWorkDir ¶
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package system_status ------------------------------------------------------------------------ Modified from gin-vue-admin (https://github.com/flipped-aurora/gin-vue-admin) ------------------------------------------------------------------------
|
Package system_status ------------------------------------------------------------------------ Modified from gin-vue-admin (https://github.com/flipped-aurora/gin-vue-admin) ------------------------------------------------------------------------ |
Click to show internal directories.
Click to hide internal directories.