From 0096d0471fef972e305a61435623d64b7da4f0d9 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 4 Oct 2022 10:11:45 +0200 Subject: Refactor: Renmae force TCP to prefer TCP --- docs/src/api/go/functions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/src/api/go/functions.md') diff --git a/docs/src/api/go/functions.md b/docs/src/api/go/functions.md index fc4f0a1..2cbab78 100644 --- a/docs/src/api/go/functions.md +++ b/docs/src/api/go/functions.md @@ -26,11 +26,11 @@ Returns a string of JSON data with the servers/organizations and an `error`, nil ## OpenVPN/Wireguard config See [Overview](../overview/getconfig.html) ```go -func GetConfigInstituteAccess(url string, forceTCP bool) (string, string, error) -func GetConfigSecureInternet(url string, forceTCP bool) (string, string, error) +func GetConfigInstituteAccess(url string, preferTCP bool) (string, string, error) +func GetConfigSecureInternet(url string, preferTCP bool) (string, string, error) ``` - `url`: The URL of the Institute Access or Secure Internet server to get a connect config for -- `forceTCP`: Whether or not we want to force enable TCP +- `preferTCP`: Whether or not we want to prefer TCP Returns: - A `string` of the OpenVPN/Wireguard config -- cgit v1.2.3