package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Oct 28, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
使用默认方法,直接从命令行提取参数
Examples:
func main() {
watchdog.Main()
}
执行watchdog
workingDir 当前工作目录
opType 命令,start 或者 stop
programPath 二进制程序文件路径
执行start成功,在当前工作目录生成 watchdog.pid 文件
Source Files
¶
Click to show internal directories.
Click to hide internal directories.