Versions in this module Expand all Collapse all v1 v1.0.0 Jan 15, 2023 Changes in this version + var ErrFileInvalid = errors.New("pidfile has invalid contents") + var ErrFileStale = errors.New("pidfile exists but process is not running") + var ErrProcessRunning = errors.New("process is already running") + func PidIsRunning(filename string) (int, bool, error) + func Remove(filename string) error + func Write(filename string) error + func WriteControl(filename string, pid int, overwrite bool) error