Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdHandlers ¶
type CmdHandlers struct { GetStatus *chain.GetStatusCmdHandler StartIndexer *indexing.StartCmdHandler BackfillIndexer *indexing.BackfillCmdHandler ReindexIndexer *indexing.ReindexCmdHandler PurgeIndexer *indexing.PurgeCmdHandler SummarizeIndexer *indexing.SummarizeCmdHandler }
func NewCmdHandlers ¶
func NewCmdHandlers(cfg *config.Config, cli *client.Client, accountDb store.Accounts, blockDb store.Blocks, databaseDb store.Database, eventDb store.Events, reportDb store.Reports, rewardDb store.Rewards, syncableDb store.Syncables, systemEventDb store.SystemEvents, transactionDb store.Transactions, validatorDb store.Validators, ) *CmdHandlers
type HttpHandlers ¶
type HttpHandlers struct { Health types.HttpHandler GetStatus types.HttpHandler GetBlockTimes types.HttpHandler GetBlockSummary types.HttpHandler GetBlockByHeight types.HttpHandler GetTransactionsByHeight types.HttpHandler GetAccountByHeight types.HttpHandler GetAccountRewards types.HttpHandler GetAccountDetails types.HttpHandler GetSystemEventsForAddress types.HttpHandler GetValidatorsByHeight types.HttpHandler GetValidatorByStashAccount types.HttpHandler GetValidatorSummary types.HttpHandler GetValidatorsForMinHeight types.HttpHandler GetRewardsForStashAccount types.HttpHandler GetAPRByAddress types.HttpHandler }
func NewHttpHandlers ¶
func NewHttpHandlers(cfg *config.Config, cli *client.Client, accountDb store.Accounts, blockDb store.Blocks, databaseDb store.Database, eventDb store.Events, reportDb store.Reports, rewardDb store.Rewards, syncableDb store.Syncables, systemEventDb store.SystemEvents, transactionDb store.Transactions, validatorDb store.Validators, ) *HttpHandlers
type WorkerHandlers ¶
type WorkerHandlers struct { RunIndexer types.WorkerHandler SummarizeIndexer types.WorkerHandler PurgeIndexer types.WorkerHandler }
func NewWorkerHandlers ¶
func NewWorkerHandlers(cfg *config.Config, cli *client.Client, accountDb store.Accounts, blockDb store.Blocks, databaseDb store.Database, eventDb store.Events, reportDb store.Reports, rewardDb store.Rewards, syncableDb store.Syncables, systemEventDb store.SystemEvents, transactionDb store.Transactions, validatorDb store.Validators, ) *WorkerHandlers
Click to show internal directories.
Click to hide internal directories.