Documentation ¶
Index ¶
- type Kind
- type Service
- func (s *Service) Disable() error
- func (s *Service) Enable() error
- func (s *Service) Install() error
- func (s *Service) Logs() error
- func (s *Service) Restart() error
- func (s *Service) SetPIDFile(p string)
- func (s *Service) Start() error
- func (s *Service) Status() (Status, error)
- func (s *Service) Stop() error
- func (s *Service) Uninstall() error
- type Settings
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind uint8
func (Kind) MarshalSetting ¶
func (Kind) SettingKind ¶
func (Kind) UnmarshalSetting ¶
UnmarshalSetting updates the Uint setting from a byte slice, interpreting it as an unsigned integer.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) SetPIDFile ¶
type Settings ¶
type Settings struct { Name settings.String `key:"name" default:"Happy Prototype"` Description settings.String `key:"decription" default:"Happy Prototype Daemon"` Slug settings.String `key:"slug" default:"happy-prototype"` Kind Kind `key:"kind" default:"user"` Args settings.StringSlice `key:"args" default:""` }
Click to show internal directories.
Click to hide internal directories.