summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-07-15 09:50:54 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-07-17 14:00:03 +0000
commit6f2b23fcd476848368a027cc5ad15a300bc25fa8 (patch)
treee7d667b92fbdb51f8b72afe022ec69a9d7a967b6
parent6258eca170eb18a577351131e6b341cb52dc7020 (diff)
Docs API: Re-gen
-rw-r--r--docs/src/api/functiondocs.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/src/api/functiondocs.md b/docs/src/api/functiondocs.md
index db5f470..dccb547 100644
--- a/docs/src/api/functiondocs.md
+++ b/docs/src/api/functiondocs.md
@@ -13,6 +13,7 @@ This document was automatically generated from the exports/exports.go file
* [Deregister](#deregister)
* [DiscoOrganizations](#discoorganizations)
* [DiscoServers](#discoservers)
+ * [DiscoveryStartup](#discoverystartup)
* [ExpiryTimes](#expirytimes)
* [FreeString](#freestring)
* [GetConfig](#getconfig)
@@ -398,6 +399,18 @@ Example Output:
]
} , null
+## DiscoveryStartup
+Signature:
+ ```go
+func DiscoveryStartup(refresh C.RefreshList) *C.char
+```
+DiscoveryStartup does a discovery request in the background
+
+The `refresh` argument is a callback that is called when the refreshing is
+done When this callback is thus called, the app SHOULD refresh the server
+list of the already configured servers This DiscoveryStartup function MUST
+be called after calling `Register`
+
## ExpiryTimes
Signature:
```go