Versions in this module Expand all Collapse all v0 v0.0.1 Jan 12, 2020 Changes in this version + var StateLabel = map[svc.State]string — windows/amd64 + func ControlService(ctx context.Context, name string, c svc.Cmd, to svc.State) error — windows/amd64 + func GetTimeout() (d time.Duration, err error) — windows/amd64 + func InstallService(exepath, name string, mgrConfig mgr.Config, cmdArgs []string, opts ...SvcOpt) error — windows/amd64 + func MaximizeTimeout() error — windows/amd64 + func QueryService(name string) (svc.State, error) — windows/amd64 + func RemoveService(name string) error — windows/amd64 + func StartService(name string, cmdArgs []string) error — windows/amd64 + type EventLogWriter struct — windows/amd64 + func NewEventLogWriter(svcname string, eId uint32, infoKey, warningKey, errorKey string) (*EventLogWriter, error) + func (elw *EventLogWriter) Close() error + func (elw *EventLogWriter) Write(p []byte) (n int, err error) + type SvcOpt func(*mgr.Service) error — windows/amd64