Commit f457c78b authored by StreatCodes's avatar StreatCodes
Browse files

Checks -> Elements on the server side

parent c0f99ad2
......@@ -17,14 +17,14 @@ import (
//Dashboard contains all information to render a dashboard
type Dashboard struct {
Title string `json:"title"`
Background string `json:"background"`
Tags []string `json:"tags"`
Checks []Check `json:"checks"`
Title string `json:"title"`
Background string `json:"background"`
Tags []string `json:"tags"`
Elements []Element `json:"elements"`
}
//Check contains any service/host information needed
type Check struct {
//Element contains any service/host information needed
type Element struct {
Type string `json:"type"`
Title string `json:"title"`
Rect Rect `json:"rect"`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment