Documentation ¶
Index ¶
- type Daemon
- type Response
- type Server
- func (sv *Server) Disable(names []string, resp *Response) (err error)
- func (sv *Server) Enable(names []string, resp *Response) (err error)
- func (sv *Server) Isolate(names []string, resp *Response) (err error)
- func (sv *Server) Reload(names []string, resp *Response) (err error)
- func (sv *Server) Restart(names []string, resp *Response) (err error)
- func (sv *Server) Start(names []string, resp *Response) (err error)
- func (sv *Server) Status(names []string, resp *Response) (err error)
- func (sv *Server) StatusAll(names []string, resp *Response) (err error)
- func (sv *Server) Stop(names []string, resp *Response) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon interface { Start(...string) error Stop(...string) error Isolate(...string) error Restart(...string) error Reload(...string) error Enable(...string) error Disable(...string) error Units() []*system.Unit Status() (system.Status, error) StatusOf(string) (unit.Status, error) IsEnabled(string) (unit.Enable, error) IsActive(string) (unit.Activation, error) }
Click to show internal directories.
Click to hide internal directories.