Documentation ¶
Index ¶
- type Daemon
- func (d *Daemon) Config() *service.Config
- func (d *Daemon) Run()
- func (d *Daemon) ServiceInstall(args ...string) (err error)
- func (d *Daemon) ServiceRestart() (err error)
- func (d *Daemon) ServiceStart() (err error)
- func (d *Daemon) ServiceStatus() (status service.Status, err error)
- func (d *Daemon) ServiceStop() (err error)
- func (d *Daemon) ServiceUninstall() (err error)
- func (d *Daemon) Start(s service.Service) error
- func (d *Daemon) Stop(s service.Service) error
- type DaemonOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
func (*Daemon) ServiceInstall ¶
func (*Daemon) ServiceRestart ¶
func (*Daemon) ServiceStart ¶
func (*Daemon) ServiceStop ¶
func (*Daemon) ServiceUninstall ¶
type DaemonOption ¶
Click to show internal directories.
Click to hide internal directories.