X-Git-Url: https://git.josue.xyz/?p=VSCPweb%2F.git;a=blobdiff_plain;f=handlers%2Fstatic%2FstaticHandlers.go;fp=handlers%2Fstatic%2FstaticHandlers.go;h=7b182dbd38540dddad1016648e3489b91ad5f3de;hp=0000000000000000000000000000000000000000;hb=a49b19ea760f5c6493e0145320f2bf37dd3a96ca;hpb=9113a0c47ac88499100bbe41462eaa11635bca25 diff --git a/handlers/static/staticHandlers.go b/handlers/static/staticHandlers.go new file mode 100644 index 0000000..7b182db --- /dev/null +++ b/handlers/static/staticHandlers.go @@ -0,0 +1,18 @@ +package staticHandlers +import ( + "fmt" + + "net/http" + ) + +//TODO(josuer08): get mpstat idle stat for every machine, as well as the ifstat +//and also the temperatures of every one of the servers working for the cluster. + +// This might include a textproto where we have all of the info of every node and +// then with their addresses we can go ahead and query that info from them with +// the special agent that each of them will already have installed in order to +// connect to the cluster. +func MasterHealthHandler(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf("Ëverything should be okay my boi") +} +