Documentation ¶
Index ¶
Constants ¶
View Source
const LoggerTag = "GHOST"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Gofer is an instance of the gofer.Gofer which will be used to fetch // prices. Gofer gofer.Gofer // Signer is an instance of the ethereum.Signer which will be used to // sign prices. Signer ethereum.Signer // Transport is a 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 // Pairs is a list supported pairs. Pairs []string }
type ErrUnableToFindAsset ¶
type ErrUnableToFindAsset struct {
AssetName string
}
func (ErrUnableToFindAsset) Error ¶
func (e ErrUnableToFindAsset) Error() string
Click to show internal directories.
Click to hide internal directories.