25 lines
593 B
Go
25 lines
593 B
Go
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"`
|
|
|
|
}
|