Objective
I want to implement simple chatroom with websocket (in go fiber middleware)
Step (code in every step will be in main.go
)
1) make channels for receive commands chan
and map channels and user in rooms
2) write function to receive command from connection
3) set endpoint to make connection
Top comments (0)