api/pkg/health/checks.go
Peter Kurfer 108444e094 Add health API and basic CLI support
- remove plugin API due to incompatibility issues
- add Docker build to GitHub Actions
- add custom container friendly config file
2020-06-15 12:32:18 +02:00

18 lines
316 B
Go

package health
func StaticResultCheck(status Status) Check {
return func() CheckResult {
return CheckResult{
Status: status,
}
}
}
func StaticResultCheckWithMessage(status Status, message string) Check {
return func() CheckResult {
return CheckResult{
Status: status,
Message: message,
}
}
}