Documentation ¶
Rendered for windows/amd64
Overview ¶
Package controlsvc contains shared code for controlling the Windows agent service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestartService ¶
func RestartService() error
RestartService restarts the agent service by calling StopService and StartService
func StartService ¶
func StartService() error
StartService starts the agent service via the Service Control Manager
func StopService ¶
func StopService() error
StopService stops the agent service via the Service Control Manager
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.