Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Log Log `yaml:"log"`
Server Server `yaml:"server"`
HttpStatus HttpStatus `yaml:"http_status"`
Healthcheck Healthcheck `yaml:"healthcheck"`
HealthcheckGeth HealthcheckGeth `yaml:"healthcheck_geth"`
HealthcheckLighthouse HealthcheckLighthouse `yaml:"healthcheck_lighthouse"`
HealthcheckOpNode HealthcheckOpNode `yaml:"healthcheck_op_node"`
HealthcheckReth HealthcheckReth `yaml:"healthcheck_reth"`
}
func (*Config) Preprocess ¶ added in v0.1.1
type Healthcheck ¶
type Healthcheck struct {
BlockAgeThreshold time.Duration `yaml:"block_age_threshold"`
CacheCoolOff time.Duration `yaml:"cache_cool_off"`
Timeout time.Duration `yaml:"timeout"`
}
func (*Healthcheck) Preprocess ¶ added in v0.1.1
func (c *Healthcheck) Preprocess() error
type HealthcheckGeth ¶
type HealthcheckGeth struct {
BaseURL string `yaml:"base_url"`
BlockAgeThreshold time.Duration `yaml:"-"`
}
func (*HealthcheckGeth) Preprocess ¶ added in v0.1.1
func (c *HealthcheckGeth) Preprocess() error
type HealthcheckLighthouse ¶
type HealthcheckLighthouse struct {
BaseURL string `yaml:"base_url"`
BlockAgeThreshold time.Duration `yaml:"-"`
}
func (*HealthcheckLighthouse) Preprocess ¶ added in v0.1.1
func (c *HealthcheckLighthouse) Preprocess() error
type HealthcheckOpNode ¶
type HealthcheckOpNode struct {
BaseURL string `yaml:"base_url"`
BlockAgeThreshold time.Duration `yaml:"-"`
ConfirmationDistance uint64 `yaml:"confirmation_distance"`
}
func (*HealthcheckOpNode) Preprocess ¶ added in v0.1.1
func (c *HealthcheckOpNode) Preprocess() error
type HealthcheckReth ¶
type HealthcheckReth struct {
BaseURL string `yaml:"base_url"`
BlockAgeThreshold time.Duration `yaml:"-"`
}
func (*HealthcheckReth) Preprocess ¶ added in v0.1.1
func (c *HealthcheckReth) Preprocess() error
type HttpStatus ¶
func (*HttpStatus) Preprocess ¶ added in v0.1.1
func (c *HttpStatus) Preprocess() error
type Log ¶
func (*Log) Preprocess ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.