Documentation ¶
Index ¶
Constants ¶
View Source
const LoggerTag = "FEEDER"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Pairs is a list supported pairs in the format "QUOTE/BASE". Pairs []string // PriceProvider is a price provider which is used to fetch prices. PriceProvider provider.Provider // Signer is an instance of the ethereum.Signer which will be used to // sign prices. Signer ethereum.Signer // Transport is an implementation of transport used to send prices to // the network. Transport transport.Transport // Interval describes how often we should send prices to the network. Interval *timeutil.Ticker // Logger is a current logger interface used by the Feeder. Logger log.Logger }
Config is the configuration for the Feeder.
Click to show internal directories.
Click to hide internal directories.