Versions in this module Expand all Collapse all v1 v1.0.0 May 28, 2020 Changes in this version + type Lock struct + func New(addr string) *Lock + func (l *Lock) Lock(key string, timeout time.Duration) (string, error) + func (l *Lock) Unlock(key, id string) error