all clients should be saved in cache

This commit is contained in:
2026-03-16 18:02:32 +01:00
parent 66e189d247
commit bbd3d390c2
7 changed files with 150 additions and 33 deletions
+20
View File
@@ -0,0 +1,20 @@
package main
import "github.com/coder/websocket"
type Client struct {
Password string
Name string
Pronouns string
Groups [12]*ChatGroup
Connection *websocket.Conn
Id uint32
Color [3]byte
}
type ChatGroup struct {
Name string
Members [32]*Client
Id uint32
Color [3]byte
}