change db structure, add goroutine connection handling

This commit is contained in:
GitProtogen
2026-03-12 14:24:31 +01:00
parent afdc3f96a0
commit b7b5788f98
5 changed files with 79 additions and 101 deletions
+6 -4
View File
@@ -9,8 +9,10 @@ type User struct {
Color string
IsPasswordHashed bool
}
type AuthConnection struct {
connection *websocket.Conn
user User
type Client struct {
conn *websocket.Conn
User *User
}
type ChatGroup struct {
}