inprocessprovider

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

All code in this package is required to support relayers that run in the same process as the core. This has been moved into common as part of the RelayerSet implementation.

Once all relayers are running as LOOPPs this package can be disposed of.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterStandAloneProvider

func RegisterStandAloneProvider(s *grpc.Server, p types.PluginProvider, pType types.OCR2PluginType) error

RegisterStandAloneProvider register the servers needed for a plugin provider, this is a workaround to test the Node API POCs on EVM until the EVM relayer is loopifyed

Types

type ProviderServer

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

ProviderServer is a GRPC server that will wrap a provider, this is a workaround, copied from core, until all providers are in their own loops.

func NewProviderServer

func NewProviderServer(p types.PluginProvider, pType types.OCR2PluginType, lggr logger.Logger) (*ProviderServer, error)

NewProviderServer creates a GRPC server that will wrap a provider, this is a workaround to test the Node API PoC until the EVM relayer is loopifyed

func (*ProviderServer) Close

func (p *ProviderServer) Close() error

func (*ProviderServer) GetConn

func (p *ProviderServer) GetConn() (grpc.ClientConnInterface, error)

func (*ProviderServer) Start

func (p *ProviderServer) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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