Documentation ¶
Overview ¶
Package pid provides an easy, reusable, library for locking and creating a pidfile common to *nix style servives.
import "github.com/apokalyptik/gopid" var pidFile = "/var/run/my.pid" _, err := pid.Do(pidFile) if err != nil { log.Fatalf("error creating pidfile: %s", err.Error()) }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.