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:
parent
168c425fb6
commit
aed518ea76
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user