Versions in this module Expand all Collapse all v1 v1.0.1 May 31, 2021 v1.0.0 May 31, 2021 Changes in this version + type Locker struct + func New(file string) *Locker + func (l *Locker) IsLocked() bool + func (l *Locker) IsRLocked() bool + func (l *Locker) Lock() (err error) + func (l *Locker) Path() string + func (l *Locker) RLock() (err error) + func (l *Locker) RUnlock() (err error) + func (l *Locker) TryLock() bool + func (l *Locker) TryRLock() bool + func (l *Locker) Unlock() (err error)