medianpoc

package
v2.11.0-beta0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSource

type DataSource struct {
	// contains filtered or unexported fields
}

func (*DataSource) Observe

func (d *DataSource) Observe(ctx context.Context, reportTimestamp ocrtypes.ReportTimestamp) (*big.Int, error)

type Plugin

type Plugin struct {
	loop.Plugin

	reportingplugins.MedianProviderServer
	// contains filtered or unexported fields
}

func NewPlugin

func NewPlugin(lggr logger.Logger) *Plugin

func (*Plugin) NewReportingPluginFactory

func (p *Plugin) NewReportingPluginFactory(
	ctx context.Context,
	config types.ReportingPluginServiceConfig,
	provider types.MedianProvider,
	pipelineRunner types.PipelineRunnerService,
	telemetry types.TelemetryClient,
	errorLog types.ErrorLog,
	keyValueStore types.KeyValueStore,
) (types.ReportingPluginFactory, error)

func (*Plugin) NewValidationService added in v2.11.0

func (p *Plugin) NewValidationService(ctx context.Context) (types.ValidationService, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL