//
pkg.gl
Category
github.com/pi-victor/origin
pkg
cmd
util
plug
package
1.3.0-alpha.3
Repository:
https://github.com/pi-victor/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.