Documentation
¶
Index ¶
- func IndexerFromConfig(cfg *config.Config, dbProvider config.DBProvider, chainID string) (txIdx txindex.TxIndexer, blockIdx indexer.BlockIndexer, err error)
- func IndexerFromConfigWithDisabledIndexers(cfg *config.Config, dbProvider config.DBProvider, chainID string) (txIdx txindex.TxIndexer, blockIdx indexer.BlockIndexer, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexerFromConfig ¶
func IndexerFromConfig(cfg *config.Config, dbProvider config.DBProvider, chainID string) ( txIdx txindex.TxIndexer, blockIdx indexer.BlockIndexer, err error, )
IndexerFromConfig constructs a slice of indexer.EventSink using the provided configuration.
func IndexerFromConfigWithDisabledIndexers ¶ added in v0.38.10
func IndexerFromConfigWithDisabledIndexers(cfg *config.Config, dbProvider config.DBProvider, chainID string) ( txIdx txindex.TxIndexer, blockIdx indexer.BlockIndexer, allIndexersDisabled bool, err error, )
IndexerFromConfigWithDisabledIndexers constructs a slice of indexer.EventSink using the provided configuration. If all indexers are disabled in the configuration, it returns null indexers. Otherwise, it creates the appropriate indexers based on the configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.