Versions in this module Expand all Collapse all v0 v0.8.2 May 24, 2026 v0.8.1 May 20, 2026 Changes in this version type Lock + func LockDB(dbName string) (*Lock, error) v0.8.0 May 17, 2026 v0.7.10 May 13, 2026 Changes in this version + func PID(configDir string) int + type Lock struct + func TryLockGlobal() (*Lock, bool, error) + func TryLockLocal() (*Lock, bool, error) + func (l *Lock) Close() error