Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatesConsumer ¶ added in v0.0.40
type AggregatesConsumer interface { Consume(ctx context.Context) error RefreshMaterializedViews(ctx context.Context) error }
func NewAggregatesConsumer ¶
func NewAggregatesConsumer(totals repository.TotalsCache, blocks repository.Blocks, txs repository.Txs) AggregatesConsumer
type CacheConsumer ¶ added in v0.0.40
type CacheConsumer interface { RunBlocks(ctx context.Context) error RunTransactions(ctx context.Context) error }
func NewCacheConsumer ¶
func NewCacheConsumer(blocks repository.BlocksCache, blocksCh chan *model.BlockInfo, txCh chan *models.Tx, txs repository.TransactionsCache, ) CacheConsumer
type SearchBlocksConsumer ¶
func NewSearchBlocksConsumer ¶
func NewSearchBlocksConsumer(rdb *redis.Client, blocksTopic string, repo repository.Search, ) SearchBlocksConsumer
type SearchTxConsumer ¶
func NewSearchTxConsumer ¶
func NewSearchTxConsumer(rdb *redis.Client, blocksTopic string, repo repository.Search, ) SearchTxConsumer
Click to show internal directories.
Click to hide internal directories.