Versions in this module Expand all Collapse all v0 v0.2.0 Mar 21, 2018 v0.1.0 Mar 1, 2018 Changes in this version + const LOCKFILE_EXCLUSIVE_LOCK — windows/amd64 + type FileLocker interface + Open func() (LockedFile, error) + func NewLocker(path string) FileLocker + type LockedFile interface + Close func() error + Read func([]byte) (int, error) + Seek func(int64, int) (int64, error) + Truncate func(int64) error + Write func([]byte) (int, error) + type Locker struct + FileLocker FileLocker + Mutex *sync.Mutex + func (l *Locker) Lock() error + func (l *Locker) Unlock() error