Versions in this module Expand all Collapse all v0 v0.10.1 Apr 29, 2015 v0.10.0 Apr 14, 2015 Changes in this version + type Lease interface + Index func() uint64 + MachineID func() string + Release func() error + Renew func(time.Duration) error + TimeRemaining func() time.Duration + Version func() int + type Manager interface + AcquireLease func(name, machID string, ver int, period time.Duration) (Lease, error) + GetLease func(name string) (Lease, error) + StealLease func(name, machID string, ver int, period time.Duration, idx uint64) (Lease, error)