pid

package
v0.0.0-...-38fe691 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2015 License: MIT Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProcessExists = errors.New("Process already exists.")
)

Functions

This section is empty.

Types

type PidFile

type PidFile struct {
	Pid int
	// contains filtered or unexported fields
}

func New

func New(path string) (pf *PidFile, err error)

func (*PidFile) Close

func (pf *PidFile) Close() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL