How to use

Open 3 terminals Terminal #1 - Run the go server go run main.go Terminal #2 - Execute curl localhost:3000/handshake and wait Terminal #3 - Execute curl localhost:3000/sendmessage

When you use the Terminal #3, you will see the message being received on Terminal #2.