Versions in this module Expand all Collapse all v0 v0.3.5 May 1, 2024 v0.3.4 Mar 11, 2024 v0.3.3 Jan 27, 2024 Changes in this version + func LockFile(file *os.File) error + type Lock struct + func NewLock(lockfile, payload string) (*Lock, error) + func (l *Lock) Lock(payload string) error + func (l *Lock) Payload() (string, error) + func (l *Lock) UnLock() (erra error)