A simple chat application built with Go and WebSocket.
- Uses github.com/gorilla/websocket for the WebSocket implementation
- Uses goroutines and channels to synchronize around clients
Clone the repo
git clone https://github.com/sgbj/go-chat.git
cd go-todos
Install packages
go get .
Run the application
go run .
Open a browser to http://localhost:8080
- Use JSON for messages
- Support different types of messages (e.g., connected, disconnected, message)
- Add a name