dnscrypt-proxy/dnscrypt-proxy/service_windows.go

18 lines
251 B
Go
Raw Permalink Normal View History

package main
import "golang.org/x/sys/windows/svc/mgr"
func ServiceManagerStartNotify() error {
mgr, err := mgr.Connect()
if err != nil {
return err
}
_ = mgr.Disconnect()
2019-12-09 09:49:33 +01:00
return nil
}
func ServiceManagerReadyNotify() error {
return nil
}