package main import "github.com/coder/websocket" type Client struct { PasswordHash string Name string Pronouns string Groups [12]*ChatGroup Connection *websocket.Conn Id uint32 Color [3]byte IsAuthenticated bool } type ChatGroup struct { Name string Id uint32 Members map[uint32]*Client Color [3]byte }