增加service命令

This commit is contained in:
GoEdgeLab
2021-01-12 11:49:37 +08:00
parent 32cac3b71b
commit d27db90ea2
8 changed files with 593 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
// +build !linux,!windows
package utils
// 安装服务
func (this *ServiceManager) Install(exePath string, args []string) error {
return nil
}
// 启动服务
func (this *ServiceManager) Start() error {
return nil
}
// 删除服务
func (this *ServiceManager) Uninstall() error {
return nil
}