summaryrefslogtreecommitdiff
path: root/exports/exports.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-21 15:48:24 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-26 10:54:24 +0100
commitd6987c06f48b61352289181954f5a436c5f2379f (patch)
treec1bfd0e08480fbb083db54d81d16ba1330d9e3af /exports/exports.go
parentb701d19e8b8b45226f6cb1090dd160eea989ca7e (diff)
Docs: Move to Mkdocs & Codeberg pages
Diffstat (limited to 'exports/exports.go')
-rw-r--r--exports/exports.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/exports/exports.go b/exports/exports.go
index 61509bf..552025f 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -1137,7 +1137,7 @@ func CalculateGateway(subnet *C.char) (*C.char, *C.char) {
return C.CString(gw), nil
}
-// CookieNew creates a new cookie and returns it.
+// CookieNew creates a new cookie and returns it. Functions that take a cookie have it as the first argument.
//
// This value should not be parsed or converted somehow by the client.
// This value is simply to pass back to the Go library.
@@ -1146,8 +1146,6 @@ func CalculateGateway(subnet *C.char) (*C.char, *C.char) {
// - Cancel a long running function
// - Send a reply to a state transition (ASK_PROFILE and ASK_LOCATION)
//
-// # Functions that take a cookie have it as the first argument
-//
// Example Input: ```CookieNew()```
//
// Example Output: ```5```