Peter Kurfer
108444e094
- remove plugin API due to incompatibility issues - add Docker build to GitHub Actions - add custom container friendly config file
18 lines
316 B
Go
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,
|
|
}
|
|
}
|
|
}
|