service

package
v0.0.0-...-7bd5a70 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControlService

func ControlService(name string, c svc.Cmd, to svc.State) error

ControlService controls a windows service. For example stopping

func InstallService

func InstallService(name, desc string) error

InstallService installs a windows service

func RemoveService

func RemoveService(name string) error

RemoveService removes a windows service

func RunService

func RunService(name string, isDebug bool)

RunService runs a service. If debug mode is enabled all output will be sent to the terminal

func StartService

func StartService(name string) error

StartService starts the specified windows service

Types

This section is empty.

Jump to

Keyboard shortcuts

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