huma
websocket
huma | websocket | |
---|---|---|
10 | 44 | |
1,403 | 18,557 | |
- | - | |
9.5 | 5.3 | |
about 16 hours ago | over 1 year ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
huma
- I write HTTP services in Go after 13 years (Mat Ryer, 2024)
- Huma: REST API framework for Go with OpenAPI generation
- Show HN: Go framework with builtin OpenAPI support
- Show HN: Huma 2.0, it's like FastAPI for Go built on OpenAPI 3.1 and JSON Schema
-
APIs in Go with Huma 2.0
I created a Huma v2 branch to rewrite it for Go 1.20+ improving on almost every aspect of the framework, and the 2.0.0 release is available now alongside a brand new Huma Documentation site.
-
Replacement for loopfz/gadgeto (OpenAPI 3 generator)
You might want to check https://github.com/danielgtaylor/huma I haven't explored the lib in-depth, but last time I checked it seemed like it could be a nice alternative/replacement.
-
Seeking Advice on the Best Swagger Generation Approach for REST API
Github: https://github.com/danielgtaylor/huma
-
State of OpenAPI support in Go routing/web frameworks
Huma might be an option.
- I just wanted to bring more attention to my favorite web framework: Huma
- Huma – REST/GraphQL API Framework for Golang with OpenAPI 3
websocket
-
Websocket memory usage
What I can say is that if you will use Gorilla Websocket (https://github.com/gorilla/websocket) (it's archived now unfortunately, but still super robust) - then you can go to sth like 15-20kb per connection - see https://github.com/FZambia/go_websocket_memory - to achieve this you need to reduce read buffer size, reuse write buffers, use goroutine after hijacking connection (following chat example in Gorilla WebSocket repo).
-
Is there an alternative to gorilla websocket?
No Bugs? https://github.com/gorilla/websocket/issues Even if that were true at the time of stoping development, "No bugs" is something that can never be said for any software. I really wish this community stopped recomending to use abandoned libraries if only for the potential Security issues. A not maintained Library is a very lucrative target for vulnerability hunting.
- As gorilla websocket has been archived which library can we use?
-
gorilla fork
The Gorilla WebSocket License says:
-
WebSockets in Go: A hijackers' perspective
We'll be using WebSocket library: "github.com/gorilla/websocket" ❣️
-
How to install gorilla websocket in go 1.20?
package github.com/gorilla/websocket is not a main package
-
Polygon: Json Database System designed to run on small servers (as low as 16MB) and still be fast and flexible.
As for Websockets, (https://github.com/gorilla/websocket) it uses ws.NextReader() to handle heavy loads of connections.
- Best way for broadcast message un websocket
-
Gorilla/websocket or Melody?
I'm looking to build a game server that uses web sockets to communicate with clients, I've looked into some of the libraries and the main ones seem to be gorilla websockets and melody.
-
this code always comes back as Not found. in ubuntu 22
If this is what your import looks like "github.com/gorilla/websocket" that's wrong it should be just "github.com/gorilla/websocket"
What are some alternatives?
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Fiber - ⚡️ Express inspired web framework written in Go
chi - lightweight, idiomatic and composable router for building Go HTTP services
go-socket.io - socket.io library for golang, a realtime application framework.
gqlgen - go generate based graphql server library
Mercure - 🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications
Echo - High performance, minimalist Go web framework
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Centrifugo - Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.