summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/state
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core/state')
-rw-r--r--internal/client/ui/core/state/state.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/client/ui/core/state/state.go b/internal/client/ui/core/state/state.go
new file mode 100644
index 0000000..eeba245
--- /dev/null
+++ b/internal/client/ui/core/state/state.go
@@ -0,0 +1,14 @@
+package state
+
+import (
+ "github.com/kyren223/eko/internal/packet"
+ "github.com/kyren223/eko/pkg/snowflake"
+)
+
+type state struct {
+ Networks map[snowflake.ID]packet.FullNetwork
+}
+
+var State state = state{
+ Networks: make(map[snowflake.ID]packet.FullNetwork),
+}