Versions in this module Expand all Collapse all v0 v0.15.6 Jun 13, 2022 Changes in this version + var ErrLockExists = errors.New("lock exists") + var ErrNoLockExists = errors.New("no lock exists") + func NewMiddleware(l Lock) eh.CommandHandlerMiddleware + type LocalLock struct + func NewLocalLock() *LocalLock + func (l *LocalLock) Lock(id string) error + func (l *LocalLock) Unlock(id string) error + type Lock interface + Lock func(id string) error + Unlock func(id string) error