Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortProcessInfos ¶
func SortProcessInfos(processes []ProcessInfo)
Types ¶
type BooleanReply ¶
type BooleanReply struct {
Success bool
}
type ProcessInfo ¶
type ProcessInfo struct { Name string `xml:"name" json:"name"` Group string `xml:"group" json:"group"` Description string `xml:"description" json:"description"` Start int `xml:"start" json:"start"` Stop int `xml:"stop" json:"stop"` Now int `xml:"now" json:"now"` State int `xml:"state" json:"state"` Statename string `xml:"statename" json:"statename"` Spawnerr string `xml:"spawnerr" json:"spawnerr"` Exitstatus int `xml:"exitstatus" json:"exitstatus"` Logfile string `xml:"logfile" json:"logfile"` StdoutLogfile string `xml:"stdout_logfile" json:"stdout_logfile"` StderrLogfile string `xml:"stderr_logfile" json:"stderr_logfile"` Pid int `xml:"pid" json:"pid"` Directory string `xml:"directory" json:"directory"` Command string `xml:"directory" json:"command"` IniPath string `xml:"ini_path" json:"ini_path"` }
func (ProcessInfo) GetFullName ¶
func (pi ProcessInfo) GetFullName() string
type ProcessNameSorter ¶
type ProcessNameSorter struct {
// contains filtered or unexported fields
}
func NewwProcessNameSorter ¶
func NewwProcessNameSorter(processes []ProcessInfo) *ProcessNameSorter
func (*ProcessNameSorter) Len ¶
func (pns *ProcessNameSorter) Len() int
func (*ProcessNameSorter) Less ¶
func (pns *ProcessNameSorter) Less(i, j int) bool
func (*ProcessNameSorter) Swap ¶
func (pns *ProcessNameSorter) Swap(i, j int)
type ProcessSignal ¶
type ReloadConfigResult ¶
Click to show internal directories.
Click to hide internal directories.