controlsvc

package
v0.0.0-...-f8e543c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL