mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
- Add websocket.Upgrader with CheckOrigin allowing all origins in development - Add Message struct with type/data/timestamp fields for WebSocket messages - Add Client struct with conn/send/mutex/closed fields and readPump/writePump/Close methods - Add Hub struct with clients map, broadcast/register/unregister channels, and sync.RWMutex - Add NewHub constructor and Run method with client registration/