indexer

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package indexer implements the Indexer. It's responsible for coordinating the AppChain and SettlementChain indexers. It can be extended to index other chains in the future.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indexer added in v0.1.1

type Indexer struct {
	// contains filtered or unexported fields
}

func NewIndexer added in v0.1.1

func NewIndexer(opts ...IndexerOption) (*Indexer, error)

func (*Indexer) Close added in v0.1.1

func (i *Indexer) Close()

func (*Indexer) Start added in v1.0.0

func (i *Indexer) Start() error

type IndexerConfig added in v0.4.0

type IndexerConfig struct {
	// contains filtered or unexported fields
}

type IndexerOption added in v0.4.0

type IndexerOption func(*IndexerConfig)

func WithContext added in v0.4.0

func WithContext(ctx context.Context) IndexerOption

func WithContractsOptions added in v0.4.0

func WithContractsOptions(c *config.ContractsOptions) IndexerOption

func WithDB added in v0.4.0

func WithDB(db *db.Handler) IndexerOption

func WithLogger added in v0.4.0

func WithLogger(logger *zap.Logger) IndexerOption

func WithValidationService added in v0.4.0

func WithValidationService(vs mlsvalidate.MLSValidationService) IndexerOption

Directories

Path Synopsis
Package appchain implements the AppChain Indexer.
Package appchain implements the AppChain Indexer.
contracts
Package contracts implements the GroupMessageBroadcaster and IdentityUpdateBroadcaster contracts.
Package contracts implements the GroupMessageBroadcaster and IdentityUpdateBroadcaster contracts.
Package common contains interfaces for the indexer.
Package common contains interfaces for the indexer.
Package rpcstreamer implements a log streamer that uses the RPC node to backfill history and then switch to a subscription.
Package rpcstreamer implements a log streamer that uses the RPC node to backfill history and then switch to a subscription.
Package settlementchain implements the SettlementChain Indexer.
Package settlementchain implements the SettlementChain Indexer.
contracts
Package contracts implements the payer registry and payer registry manager contracts.
Package contracts implements the payer registry and payer registry manager contracts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL