Versions in this module Expand all Collapse all v0 v0.0.1 Jan 24, 2022 Changes in this version + const DefaultKeyPrefix + func New(client *api.Client, opts ...widelock.OptionSet) (widelock.MutexSet, error) + func WithDeleteKey() widelock.OptionSet + func WithDuration(d time.Duration) widelock.Option + func WithExpiry(e time.Time) widelock.Option + func WithKeyPrefix(prefix string) widelock.OptionSet + func WithLostNotify(ch chan<- struct{}) widelock.Option + type Set struct + func (s *Set) Cleanup() error + func (s *Set) Close() error + func (s *Set) NewMutex(name string, opts ...widelock.Option) widelock.Mutex