monfront - remove showNode and showGroup

There is just no information that could possibily be shown there, that
isn't already shown somewhere else.
This commit is contained in:
Gibheer 2019-01-11 19:54:06 +01:00
parent 168c425fb6
commit aed518ea76

View File

@ -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"}