Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoingeckoConfig ¶
type CometBFTConfig ¶
type CometBFTConfig struct {
ApiURL string `long:"ApiURL"`
}
type Config ¶
type Config struct { Coingecko CoingeckoConfig `group:"Coingecko" namespace:"coingecko"` LocalNode LocalNodeConfig `group:"LocalNode" namespace:"localnode"` DataNode []DataNodeConfig `group:"DataNode" namespace:"datanode"` Ethereum EthereumConfig `group:"Ethereum" namespace:"ethereum"` Logging struct { Level string `long:"Level"` } `group:"Logging" namespace:"logging"` SQLStore SQLStoreConfig `group:"Sqlstore" namespace:"sqlstore"` Prometheus PrometheusConfig `group:"Prometheus" namespace:"prometheus"` Services struct { BlockSigners struct { Enabled bool `long:"enabled"` } `group:"BlockSigners" namespace:"blocksigners"` NetworkHistorySegments struct { Enabled bool `long:"enabled"` } `group:"NetworkHistorySegments" namespace:"networkhistorysegments"` CometTxs struct { Enabled bool `long:"enabled"` } `group:"CometTxs" namespace:"comettxs"` NetworkBalances struct { Enabled bool `long:"enabled"` } `group:"NetworkBalances" namespace:"networkbalances"` AssetPrices struct { Enabled bool `long:"enabled"` } `group:"AssetPrices" namespace:"assetprices"` } `group:"Services" namespace:"services"` }
func GetConfigAndLogger ¶
func NewDefaultConfig ¶
func NewDefaultConfig() Config
func ReadConfigAndWatch ¶
type DataNodeConfig ¶ added in v0.2.0
type EthereumConfig ¶
type LocalNodeConfig ¶ added in v0.2.0
type PrometheusConfig ¶ added in v0.2.0
type SQLStoreConfig ¶
type SQLStoreConfig struct { Host string `long:"host"` Port int `long:"port"` Username string `long:"username"` Password string `long:"password"` Database string `long:"database"` }
func (*SQLStoreConfig) GetConnectionConfig ¶
func (c *SQLStoreConfig) GetConnectionConfig() sqlstore.ConnectionConfig
Click to show internal directories.
Click to hide internal directories.