Documentation ¶
Rendered for windows/amd64
Index ¶
- type Service
- type ServiceWrapper
- func (sw *ServiceWrapper) ControlService(c svc.Cmd, to svc.State) error
- func (sw *ServiceWrapper) ExePath() (string, error)
- func (sw *ServiceWrapper) Execute(args []string, r <-chan svc.ChangeRequest, changes chan<- svc.Status) (ssec bool, errno uint32)
- func (sw *ServiceWrapper) InstallService() error
- func (sw *ServiceWrapper) ManageService() error
- func (sw *ServiceWrapper) RemoveService() error
- func (sw *ServiceWrapper) RunService(isDebug bool) error
- func (sw *ServiceWrapper) StartService() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceWrapper ¶
type ServiceWrapper struct {
// contains filtered or unexported fields
}
func GetServiceWrapper ¶
func GetServiceWrapper(service Service, servicName, serviceDisplayName, serviceDescription string, useExePathAsWorkingDirectory bool) (*ServiceWrapper, error)
func (*ServiceWrapper) ControlService ¶
func (*ServiceWrapper) ExePath ¶
func (sw *ServiceWrapper) ExePath() (string, error)
func (*ServiceWrapper) Execute ¶
func (sw *ServiceWrapper) Execute(args []string, r <-chan svc.ChangeRequest, changes chan<- svc.Status) (ssec bool, errno uint32)
func (*ServiceWrapper) InstallService ¶
func (sw *ServiceWrapper) InstallService() error
func (*ServiceWrapper) ManageService ¶
func (sw *ServiceWrapper) ManageService() error
func (*ServiceWrapper) RemoveService ¶
func (sw *ServiceWrapper) RemoveService() error
func (*ServiceWrapper) RunService ¶
func (sw *ServiceWrapper) RunService(isDebug bool) error
func (*ServiceWrapper) StartService ¶
func (sw *ServiceWrapper) StartService() error
Click to show internal directories.
Click to hide internal directories.