From 5e3251dd4c5cd147186951420d1cab40734ad676 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 23 Feb 2024 11:58:23 +0100 Subject: Types Server: Fix Proxy peer doc --- types/server/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'types/server') diff --git a/types/server/server.go b/types/server/server.go index 1beb8fb..260d328 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -163,7 +163,8 @@ type Proxy struct { SourcePort int `json:"source_port"` // Listen is the ip:port for the client UDP connection, this is the value that is replaced in the config Listen string `json:"listen"` - // Peer is the ip:port of the upstream server + // Peer is the URI of the upstream server + // Note that this exactly matches the "ProxyEndpoint" key in the WireGuard config Peer string `json:"peer"` } -- cgit v1.2.3