SYMBOL INDEX (23 symbols across 4 files) FILE: lockfile.go type Lockfile (line 19) | type Lockfile method GetOwner (line 53) | func (l Lockfile) GetOwner() (*os.Process, error) { method TryLock (line 89) | func (l Lockfile) TryLock() error { method Unlock (line 165) | func (l Lockfile) Unlock() error { type TemporaryError (line 22) | type TemporaryError method Error (line 24) | func (t TemporaryError) Error() string { return string(t) } method Temporary (line 31) | func (t TemporaryError) Temporary() bool { return true } function New (line 44) | func New(path string) (Lockfile, error) { function scanPidLine (line 188) | func scanPidLine(content []byte) (int, error) { function makePidFile (line 205) | func makePidFile(name string, pid int) (tmpname string, cleanup func(), ... FILE: lockfile_test.go function ExampleLockfile (line 13) | func ExampleLockfile() { function TestBasicLockUnlock (line 37) | func TestBasicLockUnlock(t *testing.T) { function GetDeadPID (line 65) | func GetDeadPID() int { function TestBusy (line 93) | func TestBusy(t *testing.T) { function TestRogueDeletion (line 121) | func TestRogueDeletion(t *testing.T) { function TestRogueDeletionDeadPid (line 150) | func TestRogueDeletionDeadPid(t *testing.T) { function TestRemovesStaleLockOnDeadOwner (line 190) | func TestRemovesStaleLockOnDeadOwner(t *testing.T) { function TestInvalidPidLeadToReplacedLockfileAndSuccess (line 218) | func TestInvalidPidLeadToReplacedLockfileAndSuccess(t *testing.T) { function TestScanPidLine (line 255) | func TestScanPidLine(t *testing.T) { FILE: lockfile_unix.go function isRunning (line 10) | func isRunning(pid int) (bool, error) { FILE: lockfile_windows.go constant error_invalid_parameter (line 9) | error_invalid_parameter = 87 constant code_still_active (line 10) | code_still_active = 259 function isRunning (line 13) | func isRunning(pid int) (bool, error) {