1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-31 02:29:18 +02:00

Health API endpoint

This commit is contained in:
binwiederhier 2022-12-24 12:22:54 -05:00
parent d023a81a32
commit dd282963c3
3 changed files with 23 additions and 0 deletions
server

View file

@ -213,3 +213,7 @@ func (q *queryFilter) Pass(msg *message) bool {
}
return true
}
type apiHealthResponse struct {
Healthy bool `json:"healthy"`
}