status

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

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

func ValidateField(field string) error

ValidateField accepts a name in Fields, or the empty name that asks for the whole status.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL