diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-09-21 10:52:59 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | d8b311edefbeebcb0cc2791d39fee84f6efdd6c1 (patch) | |
| tree | b9488ca3596f195529d9571220433fbe82fb05ed | |
| parent | 59f4f01464405cd5e2e4117d5ef0d6a08f8d1739 (diff) | |
Exports: Update spacing in docs
| -rw-r--r-- | docs/src/api/functiondocs.md | 10 | ||||
| -rw-r--r-- | exports/exports.go | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/docs/src/api/functiondocs.md b/docs/src/api/functiondocs.md index f6575f3..854dd01 100644 --- a/docs/src/api/functiondocs.md +++ b/docs/src/api/functiondocs.md @@ -82,8 +82,10 @@ you want to set this to zero (meaning: False) If the server cannot be added it returns the error as types/error/error.go Error -Note that the server is removed when an error has occured The following -state callbacks are mandatory to handle: +# Note that the server is removed when an error has occured + +The following state callbacks are mandatory to handle: + - OAUTH_STARTED: This indicates that the OAuth procedure has been started, it returns the URL as the data. The client should open the webbrowser with this URL and continue the authorization process. @@ -406,7 +408,9 @@ in types/server/server.go Type - In case of institute access: The base URL If the server cannot be removed it returns the error types/error/error.go -Error Note that the server is not removed when an error has occured +Error + +Note that the server is not removed when an error has occured ## RenewSession Signature: diff --git a/exports/exports.go b/exports/exports.go index 5d5eb32..a68dea9 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -247,7 +247,9 @@ func Deregister() *C.char { // If the server cannot be added it returns the error as types/error/error.go Error // // Note that the server is removed when an error has occured +// // The following state callbacks are mandatory to handle: +// // - OAUTH_STARTED: This indicates that the OAuth procedure has been started, it returns the URL as the data. // The client should open the webbrowser with this URL and continue the authorization process. // @@ -279,6 +281,7 @@ func AddServer(c C.uintptr_t, _type C.int, id *C.char, ni C.int) *C.char { // - In case of institute access: The base URL // // If the server cannot be removed it returns the error types/error/error.go Error +// // Note that the server is not removed when an error has occured // //export RemoveServer |
