From d7a9a4fb19faf823508e905e94682f06a39ae05b Mon Sep 17 00:00:00 2001 From: king Date: Sun, 1 Feb 2026 22:00:33 +0100 Subject: [PATCH] Initial Commit, updated function names and created some comments to better explain the code --- set_endpoint_events.uc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/set_endpoint_events.uc b/set_endpoint_events.uc index d61f88d..871558a 100644 --- a/set_endpoint_events.uc +++ b/set_endpoint_events.uc @@ -1,9 +1,11 @@ -const event_fns = {} +const event_fns = []; -# Set country midendpoint with a specific provider -event_fns["set_midpoint_country"] = {} -# -event_fns["set_proxy_props"] = {} +// Set endpoint options, takes a user object wich contains the userId wich is a hash formed from tunnel ip and public key +function set_endpoint() { + +} + +event_fns[0] = set_endpoint return { event_fns: event_fns