Discover Packages
github.com/soellman/pidfile
package
module
Version:
v0.0.0-...-d482c90
Opens a new window with list of versions in this module.
Published: Feb 25, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
README
README
¶
pidfile
pidfiles for golang
Expand ▾
Collapse ▴
Documentation
¶
View Source
var (
ErrProcessRunning = errors .New ("process is running")
ErrFileStale = errors .New ("pidfile exists but process is not running")
ErrFileInvalid = errors .New ("pidfile has invalid contents")
)
Write writes a pidfile, returning an error
if the process is already running or pidfile is orphaned
Source Files
¶
Click to show internal directories.
Click to hide internal directories.