Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct {
Token string `json:"token,omitempty"`
URL string `json:"url,omitempty"`
Alias string `json:"alias,omitempty"`
LastStatus int `json:"last_status,omitempty"`
Uptime float64 `json:"uptime,omitempty"`
Down bool `json:"down"`
DownSince string `json:"down_since,omitempty"`
Error string `json:"error,omitempty"`
Period int `json:"period,omitempty"`
Apdex float64 `json:"apdex_t,omitempty"`
Enabled bool `json:"enabled"`
Published bool `json:"published"`
LastCheckAt time.Time `json:"last_check_at,omitempty"`
NextCheckAt time.Time `json:"next_check_at,omitempty"`
FaviconURL string `json:"favicon_url,omitempty"`
SSL SSL `json:"ssl,omitempty"`
StringMatch string `json:"string_match,omitempty"`
MuteUntil string `json:"mute_until,omitempty"`
DisabledLocations []string `json:"disabled_locations,omitempty"`
CustomHeaders map[string]string `json:"custom_headers,omitempty"`
}
Taken from https://github.com/AntoineAugusti/updown/blob/d590ab97f115302c73ecf21647909d8fd06ed6ac/checks.go#L17
type SSL ¶
type SSL struct {
TestedAt string `json:"tested_at,omitempty"`
Valid bool `json:"valid,omitempty"`
Error string `json:"error,omitempty"`
}
Taken from https://github.com/AntoineAugusti/updown/blob/d590ab97f115302c73ecf21647909d8fd06ed6ac/checks.go#L10
Click to show internal directories.
Click to hide internal directories.