api

package
v0.0.0-...-4f10b81 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnixSocketPath = "/var/run/nexd.sock"
View Source
var UnixSocketPathExpression = UnixSocketPath

Functions

This section is empty.

Types

type KeepaliveStatus

type KeepaliveStatus struct {
	WgIP        string `json:"wg_ip"`
	IsReachable bool   `json:"is_reachable"`
	Hostname    string `json:"hostname"`
	Latency     string `json:""`
	Method      string `json:"method"`
}

type PingPeersResponse

type PingPeersResponse struct {
	RelayPresent  bool                       `json:"relay-present"`
	RelayRequired bool                       `json:"relay-required"`
	Peers         map[string]KeepaliveStatus `json:"peers"`
}

Jump to

Keyboard shortcuts

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