Files
go-socket/structures.go
T
2026-03-11 14:10:16 +01:00

17 lines
270 B
Go

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