Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIndexer ¶
func NewIndexer(args *ArgsIndexerFactory) (indexer.Indexer, error)
NewIndexer will create a new instance of Indexer
Types ¶
type ArgsIndexerFactory ¶
type ArgsIndexerFactory struct { Enabled bool IndexerCacheSize int ShardCoordinator sharding.Coordinator Url string UserName string Password string Marshalizer marshal.Marshalizer Hasher hashing.Hasher EpochStartNotifier sharding.EpochStartEventNotifier NodesCoordinator sharding.NodesCoordinator AddressPubkeyConverter core.PubkeyConverter ValidatorPubkeyConverter core.PubkeyConverter TemplatesPath string Options *indexer.Options EnabledIndexes []string Denomination int AccountsDB state.AccountsAdapter FeeConfig *config.FeeSettings IsInImportDBMode bool }
ArgsIndexerFactory holds all dependencies required by the data indexer factory in order to create new instances
Click to show internal directories.
Click to hide internal directories.