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