change db structure, add goroutine connection handling
This commit is contained in:
+6
-4
@@ -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 {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user