package
1.4.0-alpha.0
Repository: https://github.com/jim-minter/origin.git
Documentation: pkg.go.dev

# Functions

New returns a new plug that can begin in the Started state.
NewLeased creates a Plug that starts when a lease is acquired and stops when it is lost.

# Structs

leased uses a Leaser to control Start and Stop on a Plug.

# Interfaces

Leaser controls access to a lease.
Plug represents a synchronization primitive that holds and releases execution for other objects.