Moved schedulers from the main programs to schedulers package. Can now choose different scheduelrs to use. Work on code sharing between schedulers remains to be done.

This commit is contained in:
Renan DelValle 2016-10-13 17:15:09 -04:00
parent 87892ba13b
commit fce62981da
9 changed files with 575 additions and 323 deletions

8
def/metric.go Normal file
View file

@ -0,0 +1,8 @@
package def
type Metric struct {
Name string `json:"name"`
CPU float64 `json:"cpu"`
RAM float64 `json:"ram"`
Watts float64 `json:"watts"`
}