Versions in this module Expand all Collapse all v1 v1.0.0 Nov 25, 2015 Changes in this version + const ErrorCritical — windows/amd64 + const ErrorIgnore — windows/amd64 + const ErrorNormal — windows/amd64 + const ErrorSevere — windows/amd64 + const StartAutomatic — windows/amd64 + const StartDisabled — windows/amd64 + const StartManual — windows/amd64 + type Config struct — windows/amd64 + BinaryPathName string + Dependencies []string + Description string + DisplayName string + ErrorControl uint32 + LoadOrderGroup string + Password string + ServiceStartName string + ServiceType uint32 + StartType uint32 + TagId uint32 + type Mgr struct — windows/amd64 + Handle windows.Handle + func Connect() (*Mgr, error) + func ConnectRemote(host string) (*Mgr, error) + func (m *Mgr) CreateService(name, exepath string, c Config, args ...string) (*Service, error) + func (m *Mgr) Disconnect() error + func (m *Mgr) OpenService(name string) (*Service, error) + type Service struct — windows/amd64 + Handle windows.Handle + Name string + func (s *Service) Close() error + func (s *Service) Config() (Config, error) + func (s *Service) Control(c svc.Cmd) (svc.Status, error) + func (s *Service) Delete() error + func (s *Service) Query() (svc.Status, error) + func (s *Service) Start(args ...string) error + func (s *Service) UpdateConfig(c Config) error v1.0.0-rc2 Nov 17, 2015