Versions in this module Expand all Collapse all v1 v1.15.1 Nov 7, 2019 Changes in this version + type Lock struct + func (_m *Lock) Acquire(resource string, ttl time.Duration) (bool, error) + func (_m *Lock) Forfeit(resource string) (bool, error)