Documentation ¶
Index ¶
- func AppMemoryInfo() map[string]interface{}
- func AppPath() string
- func CheckPollCode(code, key string) (bool, error)
- func CheckPollCodeAndSerial(code, serial, key string) (bool, error)
- func CreatePollCode(key string) string
- func GetBaseBoardID() string
- func GetCPUID() string
- func GetCpuInfo() map[string]interface{}
- func GetCpuPercent() float64
- func GetDiskFree(p int) uint64
- func GetDiskInfo() []map[string]interface{}
- func GetDiskPercent(p int) float64
- func GetDiskTotal(p int) uint64
- func GetMemInfo() map[string]interface{}
- func GetMemPercent() float64
- func GetOsInfo() map[string]interface{}
- func GetSystemSerial() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPollCodeAndSerial ¶
*
- 根据序列号验证注册码
- @param code 注册码
- @param serial 序列号
- @param key 干扰密钥
- @return
func GetCpuPercent ¶
func GetCpuPercent() float64
func GetDiskFree ¶
func GetDiskPercent ¶
func GetDiskTotal ¶
func GetMemPercent ¶
func GetMemPercent() float64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.