Versions in this module Expand all Collapse all v0 v0.11.1 Mar 3, 2019 Changes in this version + var ErrAlreadyInstalled = errors.New("Service has already been installed") + var ErrAlreadyRunning = errors.New("Service is already running") + var ErrAlreadyStopped = errors.New("Service has already been stopped") + var ErrNotInstalled = errors.New("Service is not installed") + var ErrRootPrivileges = errors.New(...) + var ErrUnsupportedSystem = errors.New("Unsupported system") + var WinErrCode = map[int]SystemError — windows/amd64 + func ExecPath() (string, error) + type Daemon interface + Install func(args ...string) (string, error) + Remove func() (string, error) + Run func(e Executable) (string, error) + Start func() (string, error) + Status func() (string, error) + Stop func() (string, error) + func New(name, description string, dependencies ...string) (Daemon, error) + type Executable interface + Run func() + Start func() + Stop func() + type SystemError struct — windows/amd64 + Action string + Description string + Title string