mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 11:11:20 +00:00
14 lines
220 B
Go
14 lines
220 B
Go
|
package iface
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
type HealthTracker interface {
|
||
|
HealthUpdates() <-chan bool
|
||
|
IsHealthy() bool
|
||
|
CheckHealth(ctx context.Context) bool
|
||
|
}
|
||
|
|
||
|
type HealthNode interface {
|
||
|
IsHealthy(ctx context.Context) bool
|
||
|
}
|