windows

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(serviceName, execPath, displayName string, depends, args []string) error

RegisterService register a service

func RestartService

func RestartService(serviceName string) error

RestartService restart a windows service

func RunAsService

func RunAsService(name string, start, stop func() error, isDebug bool) (err error)

RunAsService run as windows service

func StartService

func StartService(serviceName string) error

StartService start a windows service

func StopService

func StopService(serviceName string) error

StopService stop a windows service

func UnRegisterService

func UnRegisterService(serviceName string) error

UnRegisterService unres

Types

This section is empty.

Jump to

Keyboard shortcuts

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