summaryrefslogtreecommitdiff
path: root/types/server/server.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-07 14:06:06 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-02-19 14:15:07 +0100
commitf5b78280f951999be7fbd3016894c1e9b4e47a95 (patch)
tree7c4c1eb945fe66b2775e094857bf45e2fb717240 /types/server/server.go
parenta7405496ba01f72673239a5cd6ecbb8bfd6afd86 (diff)
Types Server: Format
Diffstat (limited to 'types/server/server.go')
-rw-r--r--types/server/server.go6
1 files changed, 3 insertions, 3 deletions
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