From f5b78280f951999be7fbd3016894c1e9b4e47a95 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 7 Feb 2024 14:06:06 +0100 Subject: Types Server: Format --- types/server/server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'types') diff --git a/types/server/server.go b/types/server/server.go index fda3994..5e1fa9b 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -160,11 +160,11 @@ type List struct { // Proxy defines the structure with the arguments that should be passed to start proxyguard type Proxy struct { // SourcePort is the source port for the client TCP connection - SourcePort int `json:"source_port"` + 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"` + Listen string `json:"listen"` // Peer is the ip:port of the upstream server - Peer string `json:"peer"` + Peer string `json:"peer"` } // Configuration is the configuration that you get back when you call the get config function -- cgit v1.2.3