Files
go-socket/structures.go
T
2026-03-11 08:51:33 +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
}