Problem statement
Create a Web Socket connection between two parties (client and server) and stream some data between them.
Build instructions
git clone https://github.com/gopay-bootcamp/websocket.git
- Open two terminals at the websocket folder, one for client and server each.
- In one terminal, enter the command
go run ./serverTerminal/main.go
to start the server. - In other terminal, enter the command
go run ./clientTerminal/main.go
to start the client. - In order to end the connection, enter "STOP" in both the terminals.