Versions in this module Expand all Collapse all v3 v3.21.9 Aug 4, 2021 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 v3.21.8 Aug 4, 2021 Other modules containing this package github.com/Nikhil-dot-Kumar/gopsutil