mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
committed by
Lunny Xiao
parent
b209531959
commit
33ad554800
3
vendor/golang.org/x/sys/windows/svc/service.go
generated
vendored
3
vendor/golang.org/x/sys/windows/svc/service.go
generated
vendored
@@ -72,6 +72,7 @@ type Status struct {
|
||||
Accepts Accepted
|
||||
CheckPoint uint32 // used to report progress during a lengthy operation
|
||||
WaitHint uint32 // estimated time required for a pending operation, in milliseconds
|
||||
ProcessId uint32 // if the service is running, the process identifier of it, and otherwise zero
|
||||
}
|
||||
|
||||
// ChangeRequest is sent to the service Handler to request service status change.
|
||||
@@ -328,7 +329,7 @@ func Run(name string, handler Handler) error {
|
||||
}
|
||||
s.c <- e
|
||||
// Always return NO_ERROR (0) for now.
|
||||
return 0
|
||||
return windows.NO_ERROR
|
||||
}
|
||||
|
||||
var svcmain uintptr
|
||||
|
Reference in New Issue
Block a user