Versions in this module Expand all Collapse all v1 v1.1.0 Nov 21, 2017 Changes in this version + const PROC_EVENT_ALL — darwin/amd64, linux/amd64 + const PROC_EVENT_EXEC — darwin/amd64, linux/amd64 + const PROC_EVENT_EXIT — darwin/amd64, linux/amd64 + const PROC_EVENT_FORK — darwin/amd64, linux/amd64 + type ProcEventExec struct — darwin/amd64, linux/amd64 + Pid int + type ProcEventExit struct — darwin/amd64, linux/amd64 + Pid int + type ProcEventFork struct — darwin/amd64, linux/amd64 + ChildPid int + ParentPid int + type Watcher struct — darwin/amd64, linux/amd64 + Error chan error + Exec chan *ProcEventExec + Exit chan *ProcEventExit + Fork chan *ProcEventFork + func NewWatcher() (*Watcher, error) + func (w *Watcher) Close() error + func (w *Watcher) RemoveWatch(pid int) error + func (w *Watcher) Watch(pid int, flags uint32) error