Documentation ¶
Index ¶
- type Parameter
- func WithActivitySem(sem *semaphore.Weighted) Parameter
- func WithBlocks(blocks blocks.Service) Parameter
- func WithChainDB(chainDB chaindb.Service) Parameter
- func WithChainTime(chainTime chaintime.Service) Parameter
- func WithETH2Client(eth2Client eth2client.Service) Parameter
- func WithFinalityHandlers(handlers []handlers.FinalityHandler) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithScheduler(scheduler scheduler.Service) 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 WithActivitySem ¶ added in v0.6.11
WithActivitySem sets the activity semaphore for this module.
func WithBlocks ¶
WithBlocks sets the blocks service for this module.
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 WithFinalityHandlers ¶ added in v0.3.0
func WithFinalityHandlers(handlers []handlers.FinalityHandler) Parameter
WithFinalityHandlers sets the finality handlers for this module.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶ added in v0.3.0
WithMonitor sets the monitor for the module.
func WithScheduler ¶ added in v0.8.3
WithScheduler sets the scheduler for this module.
Click to show internal directories.
Click to hide internal directories.