winsvc

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppPath

func GetAppPath() (string, error)

func InServiceMode

func InServiceMode() bool

func Init

func Init(name string)

func InstallService

func InstallService(appPath, name, desc string, params ...string) error

func IsAnInteractiveSession

func IsAnInteractiveSession() bool

func Parse

func Parse(start, stop func())

func QueryService

func QueryService(name string) (status string, err error)

func RemoveService

func RemoveService(name string) error

func RunAsService

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

func StartService

func StartService(name string) error

func StopService

func StopService(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