Documentation
¶
Index ¶
- func BeepSleep(duration uint32)
- func BootTime()
- func BootTimeGetTime()
- func CheckLanguage()
- func CheckVirtualFiles()
- func CheckWallPaperMD5() error
- func CheckWeChatExist()
- func CompareProcessNames()
- func GetDesktopFiles()
- func GetLogicalCPUCores()
- func GetPhysicalMemory()
- func HideConsoleApi()
- func HideConsoleW32()
- func HideConsoleWin()
- func IsBeijingTimezone() bool
- func PathExists(path string) (bool, error)
- func WMICCheckVirtual() (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeepSleep ¶
func BeepSleep(duration uint32)
BeepSleep 使用 Beep 替代 Sleep
参数 freq: 人类的听觉范围大约在 20Hz - 20000Hz 之间 duration : 设置时间,秒为单位
func BootTimeGetTime ¶
func BootTimeGetTime()
func CheckLanguage ¶
func CheckLanguage()
func CheckVirtualFiles ¶
func CheckVirtualFiles()
CheckVirtualFiles 调用 PathExists 检查沙箱或者虚拟机关键文件是否存在,如果存在则退出当前进程
func CheckWallPaperMD5 ¶
func CheckWallPaperMD5() error
func CheckWeChatExist ¶
func CheckWeChatExist()
func GetDesktopFiles ¶
func GetDesktopFiles()
func GetLogicalCPUCores ¶
func GetLogicalCPUCores()
func GetPhysicalMemory ¶
func GetPhysicalMemory()
func HideConsoleApi ¶
func HideConsoleApi()
func HideConsoleW32 ¶
func HideConsoleW32()
func HideConsoleWin ¶
func HideConsoleWin()
func PathExists ¶
func WMICCheckVirtual ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.