Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDiskSpace ¶
func CheckDiskSpace() bool
CheckDiskSpece check if theres enough space to run GoOwl; Minium is 2G.
func CheckDocker ¶
func CheckDocker() int
CheckDocker check if GoOwl running in docker environment; Minium is 128M. Return -1 if unknown;0 if false and 1 if true
func CheckIsRoot ¶
func CheckIsRoot() bool
CheckIsRoot check whether program running with root permission.
func CheckMemory ¶
func CheckMemory() bool
CheckMemory check if theres enough memory to run GoOwl; Minium is 128M.
func CheckPlatform ¶
func CheckPlatform() string
CheckPlatform returns platform info and kernel version of the host.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.