Skip to content

Files

Latest commit

144ef72 · Jan 18, 2025

History

History
17 lines (11 loc) · 776 Bytes

readme.md

File metadata and controls

17 lines (11 loc) · 776 Bytes

go-ws

A toy/minimal WebSocket protocol implementation in Go.

go-ws is a lightweight WebSocket implementation that demonstrates real-time bidirectional communication between a Go server and web clients. The project includes both a WebSocket server written in Go and a minimalist HTML/JavaScript client.

I created this project because I've wanted to learn more about websockets, and everything I found was using gorilla/websocket, which abstracts a lot of the low-level details of the WebSocket protocol. https://datatracker.ietf.org/doc/html/rfc6455 was my best friend on this project!

How to run it

git clone https://github.com/NicolasLopes7/go-ws.git
cd go-ws
make run

Feel free to Reach me out if you have anything!