Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemService ¶
type SystemService struct { // Name the label for the application. It is not used for any useful operation // by the service handler. Name string // Cmd is the function the service handler will run as a service. Cmd func(args []string) int // Args is passed to Cmd() as function arguments. Args []string }
SystemService type that is responsible for managing the life-cycle of the service
func (*SystemService) Execute ¶
func (s *SystemService) Execute(args []string, changeReq <-chan svc.ChangeRequest, changes chan<- svc.Status) (bool, uint32)
Execute implements the svc.Handler interface
Click to show internal directories.
Click to hide internal directories.