Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder struct { Config conf.HealthCheckEnvSpec Logger *zap.SugaredLogger Client node.Client Interval time.Duration }
Recorder struct.
func NewRecorder ¶
func NewRecorder( config conf.HealthCheckEnvSpec, logger *zap.SugaredLogger, client node.Client, interval time.Duration, ) *Recorder
NewRecorder create a new metrics recorder.
func (*Recorder) RecordClientHeadBlockNumber ¶
Click to show internal directories.
Click to hide internal directories.