Marco
636ce06836
1. Lobbies are only identified by their passphrases 2. Improve logging 3. Do not close an existing websocket connection for a player but ignore the request
9 lines
177 B
Go
9 lines
177 B
Go
package api
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type PlayerInfo struct {
|
|
PlayerID *uuid.UUID `json:"playerID,omitempty"`
|
|
Passphrase *string `json:"passphrase,omitempty"`
|
|
}
|