Documentation
¶
Overview ¶
Package service implements methods for managing a Windows Service.
Package service implements methods for managing a Windows Service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallService ¶
func InstallService(request *InstallServiceRequest) error
func QueryService ¶
func RemoveService ¶
func StartService ¶
func StopService ¶
Types ¶
type InstallServiceRequest ¶
type InstallServiceRequest struct {
// ServiceName is the name of the service
ServiceName string
// ServiceDescription is the description of the service
ServiceDescription string
// ServiceExecutableName is the name of the executable.
ServiceExecutableName string
// ServiceExecutablePath is the path to the executable.
// Empty string results in looking for the executable (wssdagent.exe) in the local directory.
ServiceExecutablePath string
// ServiceArguments are arguments to be passed to the executable.
ServiceArguments []string
}
InstallServiceRequest is the structure used to send request to install a windows service.
Click to show internal directories.
Click to hide internal directories.