pid

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(pidfile string) error

Exists open a pid file.

func Generate

func Generate(pidfile string, chDel <-chan struct{}) error

Generate create a pid file for own process.

func Open

func Open(pidfile string) (*os.Process, error)

Open open a pid file and return this process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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