Documentation ¶ Index ¶ type Service func New(c service.Config) (Service, error) func (s Service) Install() error func (s Service) Restart() error func (s Service) Start() error func (s Service) Status() (service.Status, error) func (s Service) Stop() error func (s Service) Uninstall() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { service.Config service.ConfigFileStorer Path string } func New ¶ func New(c service.Config) (Service, error) func (Service) Install ¶ func (s Service) Install() error func (Service) Restart ¶ func (s Service) Restart() error func (Service) Start ¶ func (s Service) Start() error func (Service) Status ¶ func (s Service) Status() (service.Status, error) func (Service) Stop ¶ func (s Service) Stop() error func (Service) Uninstall ¶ func (s Service) Uninstall() error Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.