hertz-examples
Examples for Hertz. (by cloudwego)
go-tagexpr
An interesting go struct tag expression syntax for field validation, etc. (by bytedance)
hertz-examples | go-tagexpr | |
---|---|---|
6 | 3 | |
229 | 1,656 | |
3.5% | 0.4% | |
4.7 | 5.6 | |
about 2 months ago | 8 months ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-examples
Posts with mentions or reviews of hertz-examples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-04.
- How to apply reverse proxy over websocket
-
Use session middleware to implement distributed session solution based on Redis
The main content of this post is to introduce a bizdemo hertz_session. The link to the demo is here.
-
Golang Reverse Proxy Practices
cloudwego/hertz-examples
-
Web Development JWT Practices
The previous post briefly introduced a high-performance Go HTTP framework - Hertz. This article is based on a demo from the Hertz open-source repository. tree/main/bizdemo/hertz_jwt), which describes how to use Hertz to complete the JWT authentication and authorization process.
-
High Performance Web Framework Tasting-Database Operations
Shell git clone https://github.com/cloudwego/hertz-examples.git cd bizdemo/hertz_gorm
In this post, you'll learn more about using the Hertz framework with an official demo.
go-tagexpr
Posts with mentions or reviews of go-tagexpr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-17.
-
Web Development JWT Practices
Hertz uses the open-source library go-tagexpr for parameter binding and validation, which the current demo uses for user registration and login.
-
High Performance Web Framework Tasting-Database Operations
You may refer to here for more information about parameter validation syntax.
The go-tagexpr open source library is used for parameter binding and validation of the Field annotation, as shown in the following example for CreateUserRequest:
What are some alternatives?
When comparing hertz-examples and go-tagexpr you can also consider the following projects:
sessions - Sessions middleware for Hertz
userdemo - A simple demo using Hertz.
reverseproxy - reverseproxy for Hertz
gzip - gzip for hertz
jwt - JWT middleware for Hertz
vk-gen - Code generation to create a Go binding for the Vulkan graphics API.
registry - The service registration & discovery extensions for Hertz
csrf
GORM - The fantastic ORM library for Golang, aims to be developer friendly
hertz - Go HTTP framework with high-performance and strong-extensibility for building micro-services.