mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-27 00:12:31 +01:00
18 lines
251 B
Go
18 lines
251 B
Go
package main
|
|
|
|
import "golang.org/x/sys/windows/svc/mgr"
|
|
|
|
func ServiceManagerStartNotify() error {
|
|
mgr, err := mgr.Connect()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
_ = mgr.Disconnect()
|
|
|
|
return nil
|
|
}
|
|
|
|
func ServiceManagerReadyNotify() error {
|
|
return nil
|
|
}
|