package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: May 8, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Incident struct {
Target string `json:"target"`
Status string `json:"status"`
Message string `json:"message"`
CausedAt string `json:"caused_at"`
ResolvedAt string `json:"resolved_at,omitempty"`
}
type ProbeHistory struct {
Target string `json:"target"`
Status string `json:"status"`
History []Record `json:"history"`
Updated string `json:"updated,omitempty"`
}
type Record struct {
CheckedAt string `json:"checked_at,omitempty"`
Status string `json:"status"`
Message string `json:"message"`
Latency float64 `json:"latency"`
LatencyStr string `json:"-"`
}
type Status struct {
CurrentStatus []ProbeHistory `json:"current_status"`
CurrentIncidents []Incident `json:"current_incidents"`
IncidentHistory []Incident `json:"incident_history"`
ReportedAt string `json:"reported_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.