Documentation ¶
Index ¶
- type Parameter
- func WithChainDB(chainDB chaindb.Service) Parameter
- func WithConnectionURL(url string) Parameter
- func WithETH1Confirmations(confirmations uint64) Parameter
- func WithETH1DepositsSetter(setter chaindb.ETH1DepositsSetter) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithStartBlock(block string) Parameter
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithChainDB ¶
WithChainDB sets the chain database service for this module.
func WithConnectionURL ¶
WithConnectionURL sets the Ethereum 1 connection URL service for this module.
func WithETH1Confirmations ¶
WithETH1Confirmations sets the number of confirmations we wait for before processing.
func WithETH1DepositsSetter ¶
func WithETH1DepositsSetter(setter chaindb.ETH1DepositsSetter) Parameter
WithETH1DepositsSetter sets the Ethereum 1 deposits setter for this module.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for the module.
func WithStartBlock ¶
WithStartBlock sets the start block for this module.
Click to show internal directories.
Click to hide internal directories.