Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { // Configure known chains with the l2 chain id Preset int }
ChainConfig configures of the chain being indexed
type Config ¶
type Config struct { Chain ChainConfig RPCs RPCsConfig `toml:"rpcs"` DB DBConfig API APIConfig Metrics MetricsConfig }
Config represents the `indexer.toml` file used to configure the indexer
func LoadConfig ¶
LoadConfig loads the `indexer.toml` config file from a given path
type MetricsConfig ¶
MetricsConfig configures the metrics server
type RPCsConfig ¶
RPCsConfig configures the RPC urls
Click to show internal directories.
Click to hide internal directories.