Documentation
¶
Overview ¶
Package status is the status socket's field vocabulary, shared by the client that builds a request and the engine that answers it.
Index ¶
Constants ¶
View Source
const PingTimedOut = " timed out\n"
PingTimedOut follows the echoed "ping IP" request in the reply to an unanswered probe, which the CLI retries.
View Source
const PingViaRelay = " via relay:"
PingViaRelay introduces the DERP region ID in the reply to a probe that no direct path answered, which the CLI retries.
Variables ¶
View Source
var Fields = []string{
"public-key",
"private-key",
"listen-port",
"fwmark",
"peers",
"preshared-keys",
"endpoints",
"allowed-ips",
"latest-handshakes",
"transfer",
"persistent-keepalive",
"dump",
}
Fields is the machine-readable field vocabulary, in help order. The engine renders each one, and a client offers them and rejects anything else.
Functions ¶
func ValidateField ¶
ValidateField accepts a name in Fields, or the empty name that asks for the whole status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.