From 9350e1d1a74f12d7da548b46686ce7b99308acd6 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 12 Feb 2024 20:41:44 +0100 Subject: Format: Run gofumpt --- exports/exports.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'exports') diff --git a/exports/exports.go b/exports/exports.go index 3461c37..63f57f3 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -569,13 +569,13 @@ func ServerList() (*C.char, *C.char) { // // Example Output (3=WireGuard + Proxyguard): // -// { -// "config":"[Interface]\nMTU = ...\nAddress = ...\nDNS = ...\nPrivateKey = ...\n[Peer]\nPublicKey = ...\nAllowedIPs = ...\nEndpoint = 127.0.0.1:x\n", -// "protocol":3, -// "default_gateway":true, -// "should_failover":true, -// "proxy":{"source_port":38683,"listen":"127.0.0.1:59812","peer":"https://..."} -// } +// { +// "config":"[Interface]\nMTU = ...\nAddress = ...\nDNS = ...\nPrivateKey = ...\n[Peer]\nPublicKey = ...\nAllowedIPs = ...\nEndpoint = 127.0.0.1:x\n", +// "protocol":3, +// "default_gateway":true, +// "should_failover":true, +// "proxy":{"source_port":38683,"listen":"127.0.0.1:59812","peer":"https://..."} +// } // //export GetConfig func GetConfig(c C.uintptr_t, _type C.int, id *C.char, pTCP C.int, startup C.int) (*C.char, *C.char) { -- cgit v1.2.3