add support for windows service

This commit is contained in:
ginuerzh
2023-03-31 14:51:08 +08:00
parent a88b44d01d
commit 4847f9ee9f
5 changed files with 208 additions and 194 deletions

1
go.mod
View File

@ -7,6 +7,7 @@ replace github.com/templexxx/cpu v0.0.7 => github.com/templexxx/cpu v0.0.10-0.20
require (
github.com/go-gost/core v0.0.0-20230131100536-f3482d7cd848
github.com/go-gost/x v0.0.0-20230321102805-18fa84b51f1d
github.com/judwhite/go-svc v1.2.1
gopkg.in/natefinch/lumberjack.v2 v2.0.0
)