Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + type Leased struct + func NewLeased(leaser Leaser) *Leased + func (l *Leased) Run() error + func (l *Leased) Stop(err error) + type Leaser interface + AcquireAndHold func(chan error) + Release func() + type Plug interface + IsStarted func() bool + Start func() + Stop func(err error) + WaitForStart func() + WaitForStop func() error + func New(started bool) Plug v1.5.0-alpha.1 Dec 29, 2016 Incompatible versions in this module v3.7.0-alpha.0+incompatible Aug 1, 2017