Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOwnerIdForProcess ¶
func GetOwnerIdForProcess() string
Types ¶
type FileLocker ¶
type FileLocker interface { Lock(lockPath string, ownerId string, timeoutSeconds int) (locked bool, err error) Unlock(lockPath string, ownerId string) (hadLock bool, err error) }
func NewFileLocker ¶
func NewFileLocker() FileLocker
Click to show internal directories.
Click to hide internal directories.