mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
10 lines
177 B
Go
10 lines
177 B
Go
package metrics
|
|
|
|
// Healthchecks hold an error value describing an arbitrary up/down status.
|
|
type Healthcheck interface {
|
|
Check()
|
|
Error() error
|
|
Healthy()
|
|
Unhealthy(error)
|
|
}
|