titlerequest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

titlerequest is a small example reporting plugin that requests website titles and puts them onchain. This is not production code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TitleRequestPlugin

type TitleRequestPlugin struct {
	F int
	// contains filtered or unexported fields
}

func (*TitleRequestPlugin) Close

func (trp *TitleRequestPlugin) Close() error

func (*TitleRequestPlugin) Observation

func (*TitleRequestPlugin) Query

func (*TitleRequestPlugin) Report

func (*TitleRequestPlugin) ShouldAcceptFinalizedReport

func (trp *TitleRequestPlugin) ShouldAcceptFinalizedReport(_ context.Context, _ types.ReportTimestamp, report types.Report) (bool, error)

func (*TitleRequestPlugin) ShouldTransmitAcceptedReport

func (trp *TitleRequestPlugin) ShouldTransmitAcceptedReport(ctx context.Context, _ types.ReportTimestamp, report types.Report) (bool, error)

type TitleRequestPluginFactory

type TitleRequestPluginFactory struct {
	Client   *ethclient.Client
	Contract *ocr2titlerequest.OCR2TitleRequest
}

func (*TitleRequestPluginFactory) NewReportingPlugin

Jump to

Keyboard shortcuts

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