Documentation ¶
Index ¶
- type Parameter
- func WithAddresses(addresses []types.Address) Parameter
- func WithBalancesProvider(provider execclient.BalancesProvider) Parameter
- func WithBalancesSetter(setter execdb.BalancesSetter) Parameter
- func WithBlocksProvider(provider execclient.BlocksProvider) Parameter
- func WithChainHeightProvider(provider execclient.ChainHeightProvider) Parameter
- func WithDBBalancesProvider(provider execdb.BalancesProvider) Parameter
- func WithInterval(interval time.Duration) Parameter
- func WithLogLevel(logLevel zerolog.Level) Parameter
- func WithMonitor(monitor metrics.Service) Parameter
- func WithProcessConcurrency(concurrency int64) Parameter
- func WithScheduler(scheduler scheduler.Service) Parameter
- func WithStartHeight(startHeight int64) Parameter
- func WithTrackDistance(trackDistance uint32) 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 WithAddresses ¶
WithAddresses sets the addresses for this module.
func WithBalancesProvider ¶
func WithBalancesProvider(provider execclient.BalancesProvider) Parameter
WithBalancesProvider sets the balances provider for this module.
func WithBalancesSetter ¶
func WithBalancesSetter(setter execdb.BalancesSetter) Parameter
WithBalancesSetter sets the balances setter for this module.
func WithBlocksProvider ¶
func WithBlocksProvider(provider execclient.BlocksProvider) Parameter
WithBlocksProvider sets the blocks provider for this module.
func WithChainHeightProvider ¶
func WithChainHeightProvider(provider execclient.ChainHeightProvider) Parameter
WithChainHeightProvider sets the chain height provider for this module.
func WithDBBalancesProvider ¶
func WithDBBalancesProvider(provider execdb.BalancesProvider) Parameter
WithDBBalancesProvider sets the database balances provider for this module.
func WithInterval ¶
WithInterval sets the interval between updates.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithMonitor ¶
WithMonitor sets the monitor for the module.
func WithProcessConcurrency ¶
WithProcessConcurrency sets the concurrency for the service.
func WithScheduler ¶
WithScheduler sets the scheduler for the module.
func WithStartHeight ¶
WithStartHeight sets the start height for this module.
func WithTrackDistance ¶ added in v0.4.4
WithTrackDistance sets the track distance for this module.