service

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	SDDL_REVISION_1           = 1
	DACL_SECURITY_INFORMATION = 0x00000004
)

Windows API constants and functions

Variables

This section is empty.

Functions

func InstallService

func InstallService(name, desc, path string) error

install service. If already installed, remove it then install

func ModifyServicePermissions

func ModifyServicePermissions(handle windows.Handle) error

ModifyServicePermissions modifies the service security descriptor to allow non-admin users to access it

func RemoveService

func RemoveService(name string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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