add cache
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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
|
||||
IsAuthenticated bool
|
||||
}
|
||||
|
||||
type ChatGroup struct {
|
||||
Name string
|
||||
Members [32]*Client
|
||||
Id uint32
|
||||
Color [3]byte
|
||||
}
|
||||
Reference in New Issue
Block a user