Documentation ¶
Index ¶
- func RegisterProviderServices(s *grpc.Server, provider types.MedianProvider)
- type ProviderClient
- func (p *ProviderClient) Codec() types.Codec
- func (m *ProviderClient) ContractReader() types.ContractReader
- func (p *ProviderClient) MedianContract() median.MedianContract
- func (p *ProviderClient) OnchainConfigCodec() median.OnchainConfigCodec
- func (p *ProviderClient) ReportCodec() median.ReportCodec
- func (p *ProviderClient) RmUnimplemented(ctx context.Context)
- type ProviderServer
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 NewProviderClient ¶
func NewProviderClient(b *net.BrokerExt, cc grpc.ClientConnInterface) *ProviderClient
func (*ProviderClient) Codec ¶
func (p *ProviderClient) Codec() types.Codec
func (*ProviderClient) ContractReader ¶
func (m *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
Click to show internal directories.
Click to hide internal directories.