增加service命令

This commit is contained in:
GoEdgeLab
2021-01-12 11:49:14 +08:00
parent 27e3a7badb
commit 5437fdcdae
9 changed files with 594 additions and 3 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
}