Some tests
[VSCPweb/.git] / handlers / management / managementHandlers.go
1 package managementHandlers
2 import (
3         "fmt"
4
5                 "net/http"
6                 )
7
8 //TODO(josuer08): get mpstat idle stat for every machine, as well as the ifstat
9 //and also the temperatures of every one of the servers working for the cluster.
10
11 // This might include a textproto where we have all of the info of every node and
12 // then with their addresses we can go ahead and query that info from them with
13 // the special agent that each of them will already have installed in order to
14 // connect to the cluster.
15 func MasterHealthHandler(w http.ResponseWriter, r *http.Request) {
16         w.WriteHeader(http.StatusOK)
17         fmt.Fprintf(w, "Ëverything should be okay my boi")
18 }
19