From abe952080b01be4524fd03462236b6a3e63589f8 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 11 Feb 2022 16:27:06 +0100 Subject: Do not expose just yet, API not stable Signed-off-by: jwijenbergh --- exports/exports.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'exports') 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. -- cgit v1.2.3