median

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPluginMedianServer

func RegisterPluginMedianServer(server *grpc.Server, broker net.Broker, brokerCfg net.BrokerConfig, impl core.PluginMedian) error

Types

type PluginMedianClient

type PluginMedianClient struct {
	*goplugin.PluginClient
	*goplugin.ServiceClient
	// contains filtered or unexported fields
}

func NewPluginMedianClient

func NewPluginMedianClient(brokerCfg net.BrokerConfig) *PluginMedianClient

func (*PluginMedianClient) NewMedianFactory

func (m *PluginMedianClient) NewMedianFactory(ctx context.Context, provider types.MedianProvider, contractID string, dataSource, juelsPerFeeCoin, gasPriceSubunits median.DataSource, errorLog core.ErrorLog, deviationFuncDefinition map[string]any) (types.ReportingPluginFactory, error)

Jump to

Keyboard shortcuts

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