Documentation ¶
Index ¶
- func DoService(conf Config, startService func(isWindowsService bool), stopService func())
- func InstallService(appPath, name, desc string, params ...string) error
- func IsWindowsService() bool
- func QueryService(name string) (status string, err error)
- func RemoveService(name string) error
- func RunAsService(name string, start func(isWindowsService bool), stop func(), isDebug bool) (err error)
- func StartService(name string) error
- func StopService(name string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallService ¶
func IsWindowsService ¶
func IsWindowsService() bool
func QueryService ¶
func RemoveService ¶
func RunAsService ¶
func StartService ¶
func StopService ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.