Versions in this module Expand all Collapse all v0 v0.6.3 Apr 7, 2019 v0.6.2 Apr 7, 2019 Changes in this version + const BACKOFF + const EXITED + const FATAL + const RUNNING + const STARTING + const STOPPED + const STOPPING + const UNKNOWN + func Path_expand(path string) (string, error) + type Process struct + StderrLog logger.Logger + StdoutLog logger.Logger + func NewProcess(supervisor_id string, config *config.ConfigEntry) *Process + func (p *Process) GetDescription() string + func (p *Process) GetExitstatus() int + func (p *Process) GetGroup() string + func (p *Process) GetName() string + func (p *Process) GetPid() int + func (p *Process) GetPriority() int + func (p *Process) GetStartTime() time.Time + func (p *Process) GetState() ProcessState + func (p *Process) GetStatus() string + func (p *Process) GetStderrLogfile() string + func (p *Process) GetStdoutLogfile() string + func (p *Process) GetStopTime() time.Time + func (p *Process) SendProcessStdin(chars string) error + func (p *Process) Signal(sig os.Signal, sigChildren bool) error + func (p *Process) Start(wait bool) + func (p *Process) Stop(wait bool) + type ProcessManager struct + func NewProcessManager() *ProcessManager + func (pm *ProcessManager) Add(name string, proc *Process) + func (pm *ProcessManager) AsyncForEachProcess(procFunc func(p *Process), done chan *Process) int + func (pm *ProcessManager) Clear() + func (pm *ProcessManager) CreateProcess(supervisor_id string, config *config.ConfigEntry) *Process + func (pm *ProcessManager) Find(name string) *Process + func (pm *ProcessManager) FindMatch(name string) []*Process + func (pm *ProcessManager) ForEachProcess(procFunc func(p *Process)) + func (pm *ProcessManager) Remove(name string) *Process + func (pm *ProcessManager) StartAutoStartPrograms() + func (pm *ProcessManager) StopAllProcesses() + type ProcessState int + func (p ProcessState) String() string