Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
nbio
Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
https://github.com/nhooyr/websocket until you can articulate why exactly it's not what you need. See README for comparison against others.
You might want to check this for scaling websockets https://github.com/eranyanay/1m-go-websockets
I've been using https://github.com/gobwas/ws for a while in production, works fantastic. It allows me to control the websocket implementation at a much lower level than gorilla/websocket.
Check out my game socket server: https://github.com/domino14/liwords-socket
I was using gobwas and then switched to https://github.com/lesismal/nbio.
This one is based on Melody, and seems pretty good. https://github.com/red-letter-day/pgsf
Related posts
- What would be the closest thing to Unity/Unreal C#/C++ for Go to create games/animations/visual work?
- Can Go be used for game development?
- Library for game dev
- What 2D Go Game Framework Do You Use, and What are Its Pros and Cons?
- Is there a 3D game library or engine made in Go that's usable and not restrictively licensed?