1 package system 2 3 import "github.com/mitchellh/go-ps" 4 5 type System interface { 6 FindProcess(pid int) (ps.Process, error) 7 PidExists(pid int) (bool, error) 8 } 9
View as plain text