This is a small chat app using web sockets to learn Go.
First build the project by running
go build .
To start handling chat clients, we need a running server. Start it up by running
./socket-chat server [--hostname] [--port]
By default, server is running on localhost
, port 3000
Once a server is running, a separate clients can be attached by running:
./socket-chat client [--hostname] [--port]
Default settings are also localhost
and port 3000
Happy chatting!