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 NewProviderClient ¶
func NewProviderClient(b *net.BrokerExt, cc grpc.ClientConnInterface) *ProviderClient
func (*ProviderClient) ChainReader ¶ added in v0.2.0
func (m *ProviderClient) ChainReader() types.ContractReader
func (*ProviderClient) Codec ¶
func (m *ProviderClient) Codec() types.Codec
func (*ProviderClient) MedianContract ¶
func (m *ProviderClient) MedianContract() median.MedianContract
func (*ProviderClient) OnchainConfigCodec ¶
func (m *ProviderClient) OnchainConfigCodec() median.OnchainConfigCodec
func (*ProviderClient) ReportCodec ¶
func (m *ProviderClient) ReportCodec() median.ReportCodec
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.