test-assignment
We have a two steam of data and we need to save it in the map:
Incoming data: userid, message event.go
- POST request: /addHTTP
- WS path /addWS
What we want to do during the interview:
- talk regarding architectures and how to keep your code base clean and readable
- create an ability to add new messages to the map. We want to have this structure:
[{
"userID": jsonMessage
}, {
"userID": jsonMessage
}]
- use test_ws_client and test_http to make sure code will work in the concurrently enviroment