hertz
Gin
hertz | Gin | |
---|---|---|
36 | 152 | |
4,712 | 75,577 | |
1.5% | 0.6% | |
8.5 | 8.5 | |
5 days ago | 1 day ago | |
Go | Go | |
Apache License 2.0 | MIT 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.
hertz
-
Mastering Golang Microservices - A Practical Guide: Embrace High-Performance with Kitex and Hertz
The world of software development is fast-paced, and having reliable and efficient tools makes a significant difference. This is where CloudWeGo with two of its major sub-projects - Kitex and Hertz, comes into play. A solution with the potential to transform the way developers navigate the cloud environment, thanks to its robust, open-source technology.
- How to apply reverse proxy over websocket
- Cloudwego/Hertz: Go HTTP framework from ByteDance
-
Why is gin so popular?
What about hertz ? It's seems solid.
-
Looking for some help with code to restart application
I've forked https://github.com/cloudwego/hertz for the internal purpose and tried to implement restart functionalities. For this purpose I used code as https://gist.github.com/sujit-baniya/7077d5cf368eb46df77f1206dd88d145.
-
go-mir - a toolkit to develop RESTful API backend service like develop service of gRPC
Mir is a toolkit to develop RESTful API backend service like develop service of gRPC. It adapt some HTTP framework sush as Gin, Chi, Hertz, Echo, Iris, Fiber, Macaron, Mux, httprouter。
-
Should we use IDL to develop web api service?
Should we use IDL to develop web api service? Such as Hertz provides HZ to help users generate Server code using IDL.
- Hertz supports HTTP3 Interpretation of v0.5.0 version
- PIANO: A Simple and Lightweight HTTP Framework Implemented in Go
-
Load balancing expansion from 0 to 1
Hertz is an ultra-large-scale enterprise-level microservice HTTP framework, featuring high ease of use, easy expansion, and low latency etc.
Gin
-
How to Build and Document a Go REST API with Gin and Go-Swagger
Now let’s define the functions that will be called whenever a request hits our API. All the functions will be referencing the context provided by the Gin web framework. Paste the following code below the sample slice we just added to api.go:
-
Password-less Login in Go from Scratch
We will be using Gorilla Mux. As per their last update, they have a new group of maintainers, and their repos have shown activity to confirm that. The tutorial can be easily replicated in any other framework or library as well. So, while we will be using Gorilla Mux, you can try to replicate it in Gin or Fiber as well.
- Autenticação com Golang e AWS Cognito
-
Implementing JWT Authentication in a Golang Application
Now, let's dive into the fun part – creating our basic ToDo application using the powerful Gin framework. This section will walk you through the steps, breaking down the code into manageable snippets.
-
Build a Serverless GenAI solution with Lambda, DynamoDB, LangChain and Amazon Bedrock
Thanks to the AWS Lambda Web Adapter, the application built as a (good old) REST/HTTP API using a familiar library (in this case, Gin.
-
From Django or Flask to Sponge: How to Easily Develop High-Performance Web Services with Golang
Excellent Performance: Sponge is built on the gin framework, providing outstanding performance for web service development.
-
Uploading and Serving Images from MongoDB in Golang
In this blog, we will delve into the fascinating realm of handling images in a Golang application, leveraging the power of the Gin framework for RESTful API development, MongoDB as a robust NoSQL database, and the mongo-driver library for seamless interaction with MongoDB. To store images efficiently, we'll explore the intricacies of GridFS, a specification within MongoDB for storing large files as separate chunks.
-
Building RESTful API with Hexagonal Architecture in Go
It uses Gin as the HTTP framework and PostgreSQL as the database with pgx as the driver and Squirrel as the query builder. It also utilizes Redis as the caching layer with go-redis as the client.
-
Different CORS settings for different paths?
I have created an application with Go in Gin-Gonic. In my frontend (Nuxt3/TypeScript) I always get a CORS error:
-
Rapid Prototyping of Design-First APIs in Go
We use Gin web framework https://gin-gonic.com for the routing, Gin provides a balance between performance, ease of use and extensibility making it a preferred choice for building and running web applications in Go.
What are some alternatives?
Fiber - ⚡️ Express inspired web framework written in Go
kratos - Your ultimate Go microservices framework for the cloud-native era.
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍
gf - GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
chi - lightweight, idiomatic and composable router for building Go HTTP services
Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
Echo - High performance, minimalist Go web framework
Beego - beego is an open-source, high-performance web framework for the Go programming language.
websocket - A fast, well-tested and widely used WebSocket implementation for Go.