diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2019-01-11 19:54:06 +0100 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2019-01-11 19:54:06 +0100 |
commit | aed518ea7670efb52a3d7fed3a35f298409c4003 (patch) | |
tree | 481315dc3a8308a61b32f9f48ce5853696610b93 | |
parent | 168c425fb6954646c8a859296f7c85173e539c92 (diff) |
monfront - remove showNode and showGroup
There is just no information that could possibily be shown there, that
isn't already shown somewhere else.
-rw-r--r-- | cmd/monfront/main.go | 10 |
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"} |