Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSProcessHandler ¶
type OSProcessHandler struct{}
func (*OSProcessHandler) KillProcess ¶
func (p *OSProcessHandler) KillProcess(pid int) error
func (*OSProcessHandler) ListProcesses ¶
func (p *OSProcessHandler) ListProcesses() ([]Process, error)
type ProcessHandler ¶
type ProcessTreeKiller ¶
type ProcessTreeKiller struct {
// contains filtered or unexported fields
}
func NewProcessTreeKiller ¶
func NewProcessTreeKiller(handler ProcessHandler) *ProcessTreeKiller
func (*ProcessTreeKiller) KillProcessTree ¶
func (ptk *ProcessTreeKiller) KillProcessTree(ppid int) error
Click to show internal directories.
Click to hide internal directories.