Versions in this module Expand all Collapse all v1 v1.0.3 Feb 2, 2021 Changes in this version + type ChanLock struct + func NewChanLock() *ChanLock + func (l *ChanLock) Lock() + func (l *ChanLock) TryLock() bool + func (l *ChanLock) TryLockTimeout(timeout time.Duration) bool + func (l *ChanLock) Unlock()