package
0.0.5
Repository: https://github.com/goplugin/plugin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ExtractFeedURLs extracts a list of url.URLs from the feeds parameter of the initiator params.
GetBridgeURLFromName looks up a bridge in the DB by name, then extracts the url.
MakeIdleTimer checks the log timestamp and calculates the idle time from that.
New creates a service that manages a collection of DeviationCheckers, one per initiator of type InitiatorFluxMonitor for added jobs.
NewPollingDeviationChecker returns a new instance of PollingDeviationChecker.
OutsideDeviation checks whether the next price is outside the threshold.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DeviationThresholds carries parameters used by the threshold-trigger logic.
PollingDeviationChecker polls external price adapters via HTTP to check for price swings.

# Interfaces

DeviationChecker encapsulate methods needed to initialize and check prices for price deviations.
DeviationCheckerFactory holds the New method needed to create a new instance of a DeviationChecker.
Fetcher is the interface encapsulating all functionality needed to retrieve a price.
No description provided by the author
Service is the interface encapsulating all functionality needed to listen to price deviations and new round requests.