Documentation
¶
Index ¶
Constants ¶
View Source
const LoggerTag = "GHOST"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Pairs is a list supported pairs.
Pairs []string
// PriceProvider is an instance of the provider.Provider.
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
// relayers.
Transport transport.Transport
// Interval describes how often we should send prices to the network.
Interval time.Duration
// Logger is a current logger interface used by the Ghost. The Logger
// helps to monitor asynchronous processes.
Logger log.Logger
}
Config is the configuration for the Ghost.
Click to show internal directories.
Click to hide internal directories.