diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-04 10:11:45 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-04 10:11:45 +0200 |
| commit | 0096d0471fef972e305a61435623d64b7da4f0d9 (patch) | |
| tree | 17530b91964e40beeb590da8e6bb83fd32cea365 /docs/src/api/go | |
| parent | 926b5a36f309b397fc4e9c4e8e316c0d3c956c06 (diff) | |
Refactor: Renmae force TCP to prefer TCP
Diffstat (limited to 'docs/src/api/go')
| -rw-r--r-- | docs/src/api/go/functions.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
