Documentation
¶
Overview ¶
Package diagnostics is used to generate diagnostics reports for the Flashlight application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PingResult ¶
type PingResult struct {
// Only one of the following will be non-nil.
Stats *ping.Statistics `json:",omitEmpty"`
Error *string `json:",omitEmpty"`
}
PingResult is the result of a ping test.
type Report ¶
type Report struct {
Version int
PingDefaultGateway struct {
diagnostics.PingResult `yaml:",omitempty"`
Error *string `yaml:",omitempty"`
}
PingProxies map[string]PingResult
}
Report generated by Run.
Click to show internal directories.
Click to hide internal directories.