Feat: add sse broker
This commit is contained in:
@ -40,6 +40,8 @@ func HandleShowColor(w http.ResponseWriter, r *http.Request) {
|
||||
abortWithError(w, "failed to get room")
|
||||
return
|
||||
}
|
||||
log.Debug("got room", "room", room)
|
||||
// update room score
|
||||
color, exists := roundWords[word]
|
||||
log.Debug("got show-color request", "word", word, "color", color)
|
||||
if !exists {
|
||||
|
Reference in New Issue
Block a user