Documentation
¶
Rendered for windows/amd64
Index ¶
- type ServiceControl
- func (sc *ServiceControl) Continue(svcName string) error
- func (sc *ServiceControl) Install(svcName, svcDisplayName, svcDescription string) error
- func (sc *ServiceControl) Pause(svcName string) error
- func (sc *ServiceControl) Query(svcName string) (svc.Status, error)
- func (sc *ServiceControl) Remove(svcName string) error
- func (sc *ServiceControl) Start(svcName string) error
- func (sc *ServiceControl) Stop(svcName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceControl ¶
type ServiceControl struct { }
func (*ServiceControl) Continue ¶
func (sc *ServiceControl) Continue(svcName string) error
func (*ServiceControl) Install ¶
func (sc *ServiceControl) Install(svcName, svcDisplayName, svcDescription string) error
func (*ServiceControl) Pause ¶
func (sc *ServiceControl) Pause(svcName string) error
The following functions are not necessary, but they were already implemented on Windows.
func (*ServiceControl) Remove ¶
func (sc *ServiceControl) Remove(svcName string) error
func (*ServiceControl) Start ¶
func (sc *ServiceControl) Start(svcName string) error
func (*ServiceControl) Stop ¶
func (sc *ServiceControl) Stop(svcName string) error
Click to show internal directories.
Click to hide internal directories.