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

# Functions

InsertSyncEventForJobRun generates an event for a change to job_runs.
NewExplorerClient returns a stats pusher using a websocket for delivery.
NewStatsPusher returns a new StatsPusher service.

# Constants

No description provided by the author
ConnectionStatusConnected is used when the client is successfully connected.
ConnectionStatusDisconnected is the default state.
ConnectionStatusError is used when there is an error.
No description provided by the author
No description provided by the author
SendBufferSize is the number of messages to keep in the buffer before dropping additional ones.
StatusFulfilledRunLog indicates that a ChainlinkFulfilled event was detected in the transaction receipt.
StatusNoFulfilledRunLog indicates that no ChainlinkFulfilled events were detected in the transaction receipt.

# Variables

ErrReceiveTimeout is returned when no message is received after a specified duration in Receive.

# Structs

No description provided by the author
No description provided by the author
SyncJobRunPresenter presents a JobRun for synchronization purposes.

# Interfaces

ExplorerClient encapsulates all the functionality needed to push run information to explorer.
StatsPusher polls for events and pushes them via a WebSocketClient.

# Type aliases

No description provided by the author
TxStatus indicates if a transaction is fulfilled or not.