status

package
v0.2.2 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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