Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { IndexerCfg IndexerConfig `toml:"indexer"` NodeCfg NodeConfig `toml:"tendermint_node"` DBCfg DatabaseConfig `toml:"database"` }
func ReadConfig ¶
ReadConfig attempts to read and parse a config file at the given configPath. An error reading or parsing the config results in a panic.
func (*Config) DBConnectString ¶
DBConnectString returns the connection string given a idxdb config
func (*Config) GetIndexerConfig ¶
func (c *Config) GetIndexerConfig() IndexerConfig
func (*Config) GetNodeConfig ¶
type DatabaseConfig ¶
type IndexerConfig ¶
type NodeConfig ¶
Click to show internal directories.
Click to hide internal directories.