Documentation ¶
Index ¶
- type Parameter
- func WithChainDB(chainDB chaindb.Service) Parameter
- func WithChainTime(chainTime chaintime.Service) Parameter
- func WithETH2Client(eth2Client eth2client.Service) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithSpecProvider(provider chaindb.ChainSpecProvider) Parameter
- func WithStartPeriod(startPeriod int64) 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 for this module.
func WithChainTime ¶
WithChainTime sets the chain time service for this module.
func WithETH2Client ¶
func WithETH2Client(eth2Client eth2client.Service) Parameter
WithETH2Client sets the Ethereum 2 client for this module.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for the module.
func WithSpecProvider ¶
func WithSpecProvider(provider chaindb.ChainSpecProvider) Parameter
WithSpecProvider sets the spec provider for this module.
func WithStartPeriod ¶
WithStartPeriod sets the start period for this module.
Click to show internal directories.
Click to hide internal directories.