Versions in this module Expand all Collapse all v0 v0.1.0 Aug 30, 2026 Changes in this version + const Framework + var ErrNoService = errors.New("servicemanagement: SMAppService returned no object for this service") + var ErrNotBundled = errors.New(...) + var ErrTooOld = errors.New(...) + var ErrUnsupported = errors.New("servicemanagement: unsupported on this platform (darwin only)") + func Bundled() (string, bool) + type Service struct + func Agent(plistName string) Service + func Daemon(plistName string) Service + func LoginItem(identifier string) Service + func MainApp() Service + func (s Service) Name() string + func (s Service) Register() error + func (s Service) Status() (Status, error) + func (s Service) String() string + func (s Service) Unregister() error + type Status int + const Enabled + const NotFound + const NotRegistered + const RequiresApproval + func (s Status) Advice() string + func (s Status) Registered() bool + func (s Status) Running() bool + func (s Status) String() string + type SystemError struct + Code int + Domain string + Message string + Op string + Service string + func (e *SystemError) Error() string