config

package
v0.0.0-...-a457e19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period:     1 * time.Second,
	StartBlock: -1,
}

DefaultConfig sets the default values of etherbeat configurations

Functions

This section is empty.

Types

type Config

type Config struct {
	Period     time.Duration `config:"period"`
	EthRPCAddr string        `config:"eth_rpc_addr"`
	StartBlock int           `config:"start_block"`
}

Config includes etherbeat specific configurations defined in ehterbeat.yml

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL