From 6f2b23fcd476848368a027cc5ad15a300bc25fa8 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 15 Jul 2024 09:50:54 +0200 Subject: Docs API: Re-gen --- docs/src/api/functiondocs.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/src') 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 -- cgit v1.2.3