erigon-pulse/metrics/healthcheck.go

10 lines
177 B
Go
Raw Normal View History

2015-06-22 09:00:55 +00:00
package metrics
// Healthchecks hold an error value describing an arbitrary up/down status.
type Healthcheck interface {
Check()
Error() error
Healthy()
Unhealthy(error)
}