First commit: Add connection struct and define History
This commit is contained in:
24
zabbix.go
Normal file
24
zabbix.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package zabbix
|
||||
|
||||
|
||||
|
||||
|
||||
type Connection struct {
|
||||
Host string
|
||||
APIKey string
|
||||
|
||||
}
|
||||
|
||||
type commonGet struct {
|
||||
CountOutput bool `json:"countOutput,omitempty"`
|
||||
Editable bool `json:"editable,omitempty"`
|
||||
ExcludeSearch bool `json:"excludeSearch,omitempty"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
Output string `json:"output,omitempty"`
|
||||
PreserveKeys bool `json:"preserveKeys,omitempty"`
|
||||
SearchByAny bool `json:"searchByAny,omitempty"`
|
||||
SearchWildcardsEnabled bool `json:"searchWildcardsEnabled,omitempty"`
|
||||
Sortorder string `json:"sortorder,omitempty"`
|
||||
startSearch bool `json:"startSearch,omitempty"`
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user