summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2025-08-07 20:21:44 -0400
committerRobby Zambito <contact@robbyzambito.me>2025-08-07 20:22:47 -0400
commit8264480b6556a5f9023b3bb339bbb319861c9d3b (patch)
tree0b0ca7968edd915c648e8ca961de76b3c7f80a9b /internal
parentfc84e7774754340604c1bb7170eb25b1cd8da405 (diff)
Remove logs
Diffstat (limited to 'internal')
-rw-r--r--internal/api/handlers.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/api/handlers.go b/internal/api/handlers.go
index b08f686..506b83c 100644
--- a/internal/api/handlers.go
+++ b/internal/api/handlers.go
@@ -150,7 +150,6 @@ func StatusHandler(w http.ResponseWriter, r *http.Request) {
}
jsonData, _ := json.Marshal(res)
- // fmt.Printf("Overall: %s\n", string(jsonData))
fmt.Fprint(w, string(jsonData))
}
@@ -188,7 +187,6 @@ func StatusServicesHandler(w http.ResponseWriter, r *http.Request) {
})
jsonData, _ := json.Marshal(response)
- // fmt.Printf("ServicesStatus: %s\n", string(jsonData))
fmt.Fprint(w, string(jsonData))
}
@@ -208,7 +206,6 @@ func StatusMetricsHandler(w http.ResponseWriter, r *http.Request) {
}
jsonData, _ := json.Marshal(res)
- // fmt.Printf("Metrics: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}
@@ -225,7 +222,6 @@ func StatusIncidentsHandler(w http.ResponseWriter, r *http.Request) {
response := []incident{}
jsonData, _ := json.Marshal(response)
- // fmt.Printf("Incidents: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}
@@ -241,7 +237,6 @@ func StatusMaintenanceHandler(w http.ResponseWriter, r *http.Request) {
response := []event{}
jsonData, _ := json.Marshal(response)
- // fmt.Printf("Events: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}
@@ -253,7 +248,6 @@ func StatusUptimeHandler(w http.ResponseWriter, r *http.Request) {
response := []event{}
jsonData, _ := json.Marshal(response)
- // fmt.Printf("Uptime: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}