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 MulticallArgs ¶
type MulticallArgs struct {
Methods []ApiMethod
}
type MulticallResults ¶
type MulticallResults struct {
Results []interface{}
}
func (MulticallResults) MarshalXML ¶
func (r MulticallResults) MarshalXML() string
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"` State int `xml:"status" 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"` Stdout_logfile string `xml:"stdout_logfile" json:"stdout_logfile"` Stderr_logfile string `xml:"stderr_logfile" json:"stderr_logfile"` Pid int `xml:"pid" json:"pid"` }
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 ¶
func (ReloadConfigResult) MarshalXML ¶
func (r ReloadConfigResult) MarshalXML() string
MarshalXML generate XML output for PrecsontructedInfo
type ReloadConfigResults ¶
type ReloadConfigResults struct {
Results [][]ReloadConfigResult
}
type UpdateResult ¶
Click to show internal directories.
Click to hide internal directories.