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:
parent
d023a81a32
commit
dd282963c3
3 changed files with 23 additions and 0 deletions
server
|
@ -213,3 +213,7 @@ func (q *queryFilter) Pass(msg *message) bool {
|
|||
}
|
||||
return true
|
||||
}
|
||||
|
||||
type apiHealthResponse struct {
|
||||
Healthy bool `json:"healthy"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue