//
pkg.gl
Category
github.com/lightningnetwork/lnd/ticker
module
package
1.1.1
Repository:
https://github.com/lightningnetwork/lnd.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
38
Files
144 SLOC
#
Functions
New
New returns a new ticker that signals with the given interval when not paused.
NewForce
NewForce returns a Force ticker, used for testing and debugging.
#
Structs
Force
Force implements the Ticker interface, and provides a method of force-feeding ticks, even while paused.
T
T is the production implementation of the resumable Ticker interface.
#
Interfaces
Ticker
Ticker defines a resumable ticker interface, whose activity can be toggled to free up resources during periods of inactivity.