package pidfile
import "github.com/docker/docker/pkg/pidfile"
Package pidfile provides structure and helper functions to create and remove PID file. A PID file is usually a file used to store the process ID of a running process.
Index ¶
Types ¶
type PIDFile ¶
type PIDFile struct {
// contains filtered or unexported fields
}
PIDFile is a file used to store the process ID of a running process.
func New ¶
New creates a PIDfile using the specified path.
func (PIDFile) Remove ¶
Remove removes the PIDFile.
Source Files ¶
- Version
- v1.12.1-rc1
- Published
- Aug 12, 2016
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 1 minute ago –
Tools for package owners.