Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DERPNodeReport ¶
type DERPNodeReport struct { Healthy bool `json:"healthy"` Node *tailcfg.DERPNode `json:"node"` CanExchangeMessages bool `json:"can_exchange_messages"` RoundTripPing time.Duration `json:"round_trip_ping"` UsesWebsocket bool `json:"uses_websocket"` ClientLogs [][]string `json:"client_logs"` ClientErrs [][]error `json:"client_errs"` STUN DERPStunReport `json:"stun"` // contains filtered or unexported fields }
type DERPRegionReport ¶
type DERPRegionReport struct { Healthy bool `json:"healthy"` Region *tailcfg.DERPRegion `json:"region"` NodeReports []*DERPNodeReport `json:"node_reports"` // contains filtered or unexported fields }
type DERPReport ¶
type DERPReport struct { Healthy bool `json:"healthy"` Regions map[int]*DERPRegionReport `json:"regions"` Netcheck *netcheck.Report `json:"netcheck"` NetcheckLogs []string `json:"netcheck_logs"` // contains filtered or unexported fields }
func (*DERPReport) Run ¶
func (r *DERPReport) Run(ctx context.Context, opts *DERPReportOptions) error
type DERPReportOptions ¶
type DERPStunReport ¶
type Report ¶
type Report struct { // Time is the time the report was generated at. Time time.Time `json:"time"` // Healthy is true if the report returns no errors. Healthy bool `json:"pass"` DERP DERPReport `json:"derp"` }
type ReportOptions ¶
type WebsocketReport ¶
type WebsocketReport struct{}
Click to show internal directories.
Click to hide internal directories.