Versions in this module Expand all Collapse all v1 v1.14.2 Aug 15, 2023 v0 v0.11.0 Jul 17, 2020 v0.10.5 Aug 28, 2019 v0.10.4 Jul 9, 2019 v0.10.3 May 27, 2019 v0.10.2 May 8, 2019 v0.10.1 Apr 24, 2019 v0.10.0 Jan 19, 2019 v0.9.0 Mar 16, 2018 v0.8.0 Jan 23, 2018 v0.7.0 Jan 17, 2018 v0.6.0 Nov 30, 2017 v0.5.0 Oct 12, 2017 v0.4.0 Jun 12, 2017 v0.3.0 May 15, 2017 v0.2.1 Jun 13, 2017 v0.2.0 Feb 28, 2017 v0.1.0 Feb 24, 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