aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/windows/service.go
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-09-22 13:02:16 -0400
committerGitHub <noreply@github.com>2020-09-22 20:02:16 +0300
commit1c3278c2fa7733e61dbca92cbb3e8cd5ce6a848b (patch)
treead63d17954e5872de0a82755f2be5f62859d118b /vendor/golang.org/x/sys/windows/service.go
parent63e8bdaf739519c800498dac87b4f362b3c6f478 (diff)
downloadgitea-1c3278c2fa7733e61dbca92cbb3e8cd5ce6a848b.tar.gz
gitea-1c3278c2fa7733e61dbca92cbb3e8cd5ce6a848b.zip
update revive lint to latest commit (#12921)
* update revive lint to latest commit * make fmt * change import
Diffstat (limited to 'vendor/golang.org/x/sys/windows/service.go')
-rw-r--r--vendor/golang.org/x/sys/windows/service.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/windows/service.go b/vendor/golang.org/x/sys/windows/service.go
index 847e00bc99..f54ff90aac 100644
--- a/vendor/golang.org/x/sys/windows/service.go
+++ b/vendor/golang.org/x/sys/windows/service.go
@@ -65,6 +65,7 @@ const (
SERVICE_ACCEPT_HARDWAREPROFILECHANGE = 32
SERVICE_ACCEPT_POWEREVENT = 64
SERVICE_ACCEPT_SESSIONCHANGE = 128
+ SERVICE_ACCEPT_PRESHUTDOWN = 256
SERVICE_CONTROL_STOP = 1
SERVICE_CONTROL_PAUSE = 2
@@ -80,6 +81,7 @@ const (
SERVICE_CONTROL_HARDWAREPROFILECHANGE = 12
SERVICE_CONTROL_POWEREVENT = 13
SERVICE_CONTROL_SESSIONCHANGE = 14
+ SERVICE_CONTROL_PRESHUTDOWN = 15
SERVICE_ACTIVE = 1
SERVICE_INACTIVE = 2