error-pages/internal/checkers/live.go

11 lines
269 B
Go
Raw Normal View History

2021-09-29 15:38:50 +00:00
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 }