Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { CurrentStatus UnitStatus Cmd *exec.Cmd OutFile *os.File // contains filtered or unexported fields }
func (*Status) ClearShutdown ¶
func (s *Status) ClearShutdown()
func (*Status) MarkShutdownRequested ¶
func (s *Status) MarkShutdownRequested()
func (*Status) WaitForCommandEnd ¶
func (s *Status) WaitForCommandEnd()
type StatusCallback ¶
type StatusCallback func(*Status)
type UnitStatus ¶
type UnitStatus int
const ( NotStarted UnitStatus = iota Running Stopped Crashed )
Click to show internal directories.
Click to hide internal directories.