feat: Added uptime calculation method

This commit is contained in:
2025-08-12 18:58:09 +03:00
parent dbe321562e
commit cb03e828ee
3 changed files with 31 additions and 1 deletions

View File

@@ -6,4 +6,5 @@ type PublicService struct {
Name string `json:"name"`
Description string `json:"description"`
Statuses []model.Status `json:"statuses"`
Uptime float64 `json:"uptime"`
}