http-server-status/internal/pkg/checks/interfaces.go
kekskurse df1f08922b
All checks were successful
continuous-integration/drone/push Build is passing
Return Data from Check possible and redirect to data.json
2021-09-20 13:19:05 +02:00

6 lines
No EOL
105 B
Go

package checks
type Check interface {
Execute() (ok bool, data interface{}, err error)
Name() string
}