aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/monfront/main.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd/monfront/main.go b/cmd/monfront/main.go
index 6f7c3dc..cc37214 100644
--- a/cmd/monfront/main.go
+++ b/cmd/monfront/main.go
@@ -132,8 +132,6 @@ func main() {
http.HandleFunc("/", showChecks)
http.HandleFunc("/static/", showStatic)
http.HandleFunc("/check", showCheck)
- http.HandleFunc("/group", showGroup)
- http.HandleFunc("/node", showNode)
http.HandleFunc("/checks", showChecks)
http.HandleFunc("/groups", showGroups)
http.HandleFunc("/action", checkAction)
@@ -444,14 +442,6 @@ func showCheck(w http.ResponseWriter, r *http.Request) {
return
}
}
-func showGroup(w http.ResponseWriter, r *http.Request) {
- // TODO implement showing all nodes only from one group and its message?
- return
-}
-func showNode(w http.ResponseWriter, r *http.Request) {
- // TODO implement showing all checks from one node and its message?
- return
-}
func returnError(status int, con Context, w http.ResponseWriter) {
w.Header()["Content-Type"] = []string{"text/html"}