feat: create-room handler, with middleware

This commit is contained in:
efim
2023-11-04 05:52:20 +00:00
parent 850b6c693b
commit f8eb11c53e
4 changed files with 108 additions and 48 deletions

View File

@@ -10,14 +10,14 @@ import (
)
type Person struct {
PersonId int64
PersonId int
Name string
PasswordHash string
}
type Room struct {
Name string // will be unique ID
AdminIds []int64
AdminIds []int
PasswordHash string
Paricipants []Person
// TODO hands, for each type of hand?