Versions in this module Expand all Collapse all v0 v0.0.3 May 17, 2023 v0.0.1 May 17, 2023 Changes in this version + type Service struct — windows/amd64 + Config mgr.Config + Name string + Status ServiceStatus + func ListServices() ([]Service, error) + func NewService(name string) (*Service, error) + func (s *Service) GetServiceDetail() error + func (s *Service) GetServiceDetailWithContext(ctx context.Context) error + func (s *Service) QueryServiceConfig() (mgr.Config, error) + func (s *Service) QueryServiceConfigWithContext(ctx context.Context) (mgr.Config, error) + func (s *Service) QueryStatus() (ServiceStatus, error) + func (s *Service) QueryStatusWithContext(ctx context.Context) (ServiceStatus, error) + type ServiceStatus struct — windows/amd64 + Accepts svc.Accepted + Pid uint32 + State svc.State + Win32ExitCode uint32