http-server-status/internal/pkg/checks/interfaces.go

6 lines
105 B
Go
Raw Normal View History

2021-09-20 09:28:00 +00:00
package checks
type Check interface {
Execute() (ok bool, data interface{}, err error)
2021-09-20 09:28:00 +00:00
Name() string
}