Documentation ¶
Rendered for windows/amd64
Index ¶
- func RegisterService(serviceName, execPath, displayName string, depends, args []string) error
- func RestartService(serviceName string) error
- func RunAsService(name string, start, stop func() error, isDebug bool) (err error)
- func StartService(serviceName string) error
- func StopService(serviceName string) error
- func UnRegisterService(serviceName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
RegisterService register a service
func RestartService ¶
RestartService restart a windows service
func RunAsService ¶
RunAsService run as windows service
func StartService ¶
StartService start a windows service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.