MCPcopy Create free account
hub / github.com/tailscale/tailcat / PingResult

Struct PingResult

tailcat.go:1582–1586  ·  view source on GitHub ↗

PingResult is the result of a successful [Client.Ping] call.

Source from the content-addressed store, hash-verified

1580
1581// PingResult is the result of a successful [Client.Ping] call.
1582type PingResult struct {
1583 // Latency is the round-trip time for the meow/meowed handshake
1584 // through the DERP relay.
1585 Latency time.Duration
1586}
1587
1588// ensureStarted brings up the client's network stack on first use:
1589// it resolves the server's DERP region if the ConnBlob didn't embed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected