feat: create-room handler, with middleware
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user