error-pages/internal/checkers/live.go
2021-09-29 20:38:50 +05:00

11 lines
269 B
Go

package checkers
// LiveChecker is a liveness checker.
type LiveChecker struct{}
// NewLiveChecker creates liveness checker.
func NewLiveChecker() *LiveChecker { return &LiveChecker{} }
// Check application is alive?
func (*LiveChecker) Check() error { return nil }