add healthcheck service

This commit is contained in:
2024-08-17 01:44:20 +03:00
parent 25762cbae8
commit f635d4ca5b
11 changed files with 422 additions and 15 deletions

View File

@ -0,0 +1,13 @@
package probe
// Liveness reports the application is alive.
type Liveness int8
const (
// LivenessUnknown reports nothing.
LivenessUnknown Liveness = iota
// LivenessOk reports service is alive.
LivenessOk
// LivenessTimeout reports service was unable to answer at a time.
LivenessTimeout
)