median

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProviderServices

func RegisterProviderServices(s *grpc.Server, provider types.MedianProvider)

Types

type ProviderClient

type ProviderClient struct {
	*ocr2.PluginProviderClient
	// contains filtered or unexported fields
}

func (*ProviderClient) Codec

func (p *ProviderClient) Codec() types.Codec

func (*ProviderClient) ContractReader

func (p *ProviderClient) ContractReader() types.ContractReader

func (*ProviderClient) MedianContract

func (p *ProviderClient) MedianContract() median.MedianContract

func (*ProviderClient) OnchainConfigCodec

func (p *ProviderClient) OnchainConfigCodec() median.OnchainConfigCodec

func (*ProviderClient) ReportCodec

func (p *ProviderClient) ReportCodec() median.ReportCodec

func (*ProviderClient) RmUnimplemented

func (p *ProviderClient) RmUnimplemented(ctx context.Context)

RmUnimplemented sets the ContractReader and Codec clients to nil, if they are not implemented.

type ProviderServer

type ProviderServer struct{}

func (ProviderServer) ConnToProvider

func (m ProviderServer) ConnToProvider(conn grpc.ClientConnInterface, broker net.Broker, brokerCfg net.BrokerConfig) types.MedianProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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