summaryrefslogtreecommitdiff
path: root/exports
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-02-11 16:27:06 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-05 12:26:11 +0200
commitabe952080b01be4524fd03462236b6a3e63589f8 (patch)
tree808b35aba48f540130b87bf198168181b145be7e /exports
parenta1420bfd2bb4eb04006e46dfcf682ece86459749 (diff)
Do not expose just yet, API not stable
Signed-off-by: jwijenbergh <jeroenwijenbergh@protonmail.com>
Diffstat (limited to 'exports')
-rw-r--r--exports/exports.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/exports/exports.go b/exports/exports.go
index 43dfb9e..acf02e1 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -8,16 +8,16 @@ import "github.com/jwijenbergh/eduvpn-common/src"
// GetOrganizationsList gets the list of organizations from the disco server.
// Returns the unix timestamp of the data. This is used as key for looking up data.
//export GetOrganizationsList
-func GetOrganizationsList() uint64 {
- return eduvpn.GetOrganizationsList()
-}
-
-// GetServerList gets the list of servers from the disco server.
-// Returns the unix timestamp of the data. This is used as key for looking up data.
-//export GetServerList
-func GetServerList() uint64 {
- return eduvpn.GetServerList()
-}
+//func GetOrganizationsList() uint64 {
+// return eduvpn.GetOrganizationsList()
+//}
+//
+//// GetServerList gets the list of servers from the disco server.
+//// Returns the unix timestamp of the data. This is used as key for looking up data.
+////export GetServerList
+//func GetServerList() uint64 {
+// return eduvpn.GetServerList()
+//}
// Verify verifies a signature on a JSON file. See eduvpn.Verify for more details.
// It returns 0 for a valid signature and a nonzero eduvpn.VerifyErrorCode otherwise.