indexer

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

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) StartIndexer added in v0.1.1

func (i *Indexer) StartIndexer() 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 *sql.DB) IndexerOption

func WithLogger added in v0.4.0

func WithLogger(log *zap.Logger) IndexerOption

func WithValidationService added in v0.4.0

func WithValidationService(vs mlsvalidate.MLSValidationService) IndexerOption

Directories

Path Synopsis
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.

Jump to

Keyboard shortcuts

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