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)
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. |
Click to show internal directories.
Click to hide internal directories.