Files
go-socket/structures.go
T
2026-03-11 19:23:58 +01:00

17 lines
272 B
Go

package main
import "github.com/coder/websocket"
type User struct {
Id uint32
Name string
Password string
Color string
IsPasswordHashed bool
}
type AuthConnection struct {
connection *websocket.Conn
user User
}