//
pkg.gl
Category
github.com/jim-minter/origin
pkg
cmd
util
plug
package
1.4.0-alpha.0
Repository:
https://github.com/jim-minter/origin.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
1
Dependents
0
Files
109 SLOC
#
Functions
New
New returns a new plug that can begin in the Started state.
NewLeased
NewLeased creates a Plug that starts when a lease is acquired and stops when it is lost.
#
Structs
Leased
leased uses a Leaser to control Start and Stop on a Plug.
#
Interfaces
Leaser
Leaser controls access to a lease.
Plug
Plug represents a synchronization primitive that holds and releases execution for other objects.