v4

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceClient

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

func NewDataSourceClient

func NewDataSourceClient(cc grpc.ClientConnInterface) *DataSourceClient

func (*DataSourceClient) Observe

func (d *DataSourceClient) Observe(ctx context.Context, timestamp ocr2plus_types.ReportTimestamp, fetchMaxFinalizedTimestamp bool) (v4.Observation, error)

type DataSourceServer

type DataSourceServer struct {
	mercury_v4_pb.UnimplementedDataSourceServer
	// contains filtered or unexported fields
}

func NewDataSourceServer

func NewDataSourceServer(impl v4.DataSource) *DataSourceServer

func (*DataSourceServer) Observe

type ReportCodecClient

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

func NewReportCodecClient

func NewReportCodecClient(cc grpc.ClientConnInterface) *ReportCodecClient

func (*ReportCodecClient) BuildReport

func (*ReportCodecClient) MaxReportLength

func (r *ReportCodecClient) MaxReportLength(ctx context.Context, n int) (int, error)

func (*ReportCodecClient) ObservationTimestampFromReport

func (r *ReportCodecClient) ObservationTimestampFromReport(ctx context.Context, report ocr2plus_types.Report) (uint32, error)

type ReportCodecServer

type ReportCodecServer struct {
	mercury_v4_pb.UnimplementedReportCodecServer
	// contains filtered or unexported fields
}

func NewReportCodecServer

func NewReportCodecServer(impl mercury_v4_types.ReportCodec) *ReportCodecServer

func (*ReportCodecServer) BuildReport

func (*ReportCodecServer) MaxReportLength

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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