diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-23 11:58:23 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-23 11:58:23 +0100 |
| commit | 5e3251dd4c5cd147186951420d1cab40734ad676 (patch) | |
| tree | 1e156d50822d34d3fa6b77a955d89ff5c1193f46 /types | |
| parent | 03ebce3243da4f5a9be6ce8e86152e2b72fd9867 (diff) | |
Types Server: Fix Proxy peer doc
Diffstat (limited to 'types')
| -rw-r--r-- | types/server/server.go | 3 |
1 files changed, 2 insertions, 1 deletions
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"` } |
