A simple implementation of a chat application built on WebSockets
To run this program, you require a working Go development environment. Clone, build, and run the program using the following commands:
git clone [email protected]:Samueelx/chat.git
cd chat
go run *.go
To use the chat application, you can either:
- Open http://localhost:8080/ in your browser
- Use the command-line client called websocat, and visit ws://localhost:8080/ws