Create a message broadcasting system using websocket where the sender will connect to /sender
path to send a message in this format:
{
"message": "Hello Everyone"
}
After connecting the first message the sender should pass is:
{
"name": "Alice"
}
This name should must be stored in the backend so that any sucessive message sent by the sender should have that name in the broadcast message
The clients will connect using the path /receiver
to receive all the messages broadcasted
<Sender Name>: <message>
Alice: Hello Everyone
Language: Golang
Library (Websocket): https://github.com/gobwas/ws