aboutsummaryrefslogtreecommitdiff
path: root/src/cljs/gnunet_web/transport.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljs/gnunet_web/transport.cljs')
-rw-r--r--src/cljs/gnunet_web/transport.cljs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cljs/gnunet_web/transport.cljs b/src/cljs/gnunet_web/transport.cljs
index 471df8e..61d1740 100644
--- a/src/cljs/gnunet_web/transport.cljs
+++ b/src/cljs/gnunet_web/transport.cljs
@@ -37,6 +37,9 @@
9 "Disconnecting"
10 "Disconnect finished"})
+(def state-connected 5)
+(def state-disconnected 10)
+
(defn state->string
[state]
(get state-strings state))