Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { StartingBlockID *uint64 RPCURL string BeaconURL string ContractAddress common.Address DatabaseUsername string DatabasePassword string DatabaseName string DatabaseHost string DatabaseMaxIdleConns uint64 DatabaseMaxOpenConns uint64 DatabaseMaxConnLifetime uint64 BackOffMaxRetries uint64 BackOffRetryInterval time.Duration OpenDBFunc func() (DB, error) }
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer struct holds the configuration and state for the Ethereum chain listener.
func (*Indexer) InitFromCli ¶
Click to show internal directories.
Click to hide internal directories.