Refactor filters

This commit is contained in:
Alexander Zobnin
2021-05-24 10:46:28 +03:00
parent b42d665e9e
commit 37573e0152
5 changed files with 144 additions and 77 deletions

View File

@@ -74,3 +74,19 @@ type HistoryPoint struct {
Value float64 `json:"value,omitempty,string"`
NS int64 `json:"ns,omitempty,string"`
}
type Group struct {
Name string `json:"name"`
ID string `json:"groupid"`
}
type Host struct {
Name string `json:"name"`
Host string `json:"host"`
ID string `json:"hostid"`
}
type Application struct {
Name string `json:"name"`
ID string `json:"applicationid"`
}