Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 23 Go Middleware Projects
-
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.
To learn more about Gin framework, you can check out the docs here
-
Project mention: What are the most innovative and interesting frontend/backend frameworks you know? I'll use them to build my next side project. | reddit.com/r/webdev | 2023-02-07
I'm thinking of recreating something like silverbullet using Vite, Svelte, Echo, Sqlite, anime, and web sockets. I'll host it in Docker on my mini server, access it via Tailscale and back it up with restic to Azure. I have some vague idea of building a web app that is both the editor and the app at the same time. Like a game where you build the game by playing the game, but with markdown and magic. Perfect side project fodder.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Take a look at the Basic HTTP auth middleware that ships with chi and adjust it to your needs: https://github.com/go-chi/chi/blob/master/middleware/basic_auth.go
-
Project mention: Those who use an http client on top of/instead of the built in http package, what do you use and why? | reddit.com/r/golang | 2022-11-22
-
Project mention: Share Your Code.. Share your most unique piece of Go code. | reddit.com/r/golang | 2022-10-15
KrakenD and Lura https://github.com/krakendio/krakend-ce https://github.com/luraproject/lura
-
Supported middlewares by gRPC framework.
-
goku_lite
A Powerful HTTP API Gateway in pure golang!Goku API Gateway (中文名:悟空 API 网关)是一个基于 Golang开发的微服务网关,能够实现高性能 HTTP API 转发、服务编排、多租户管理、API 访问权限控制等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行 API 服务治理、提高 API 服务的稳定性和安全性。
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
Project mention: swaggo/swag alternative, but should generate OpenAPI 3.0 spec file | reddit.com/r/golang | 2022-08-23
No I use this one https://github.com/swaggo/gin-swagger. It's with swagger 2.0, but I think it can be easily converted to OpenApi 3.0. I tried it once and the only thing it complained about was some simple "metadata" like contact person etc.
-
May I suggest using this httprouter for router and this for middleware Alice
-
-
-
Faygo
Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc.
-
-
-
IOC-golang
一款服务于 Go 开发者的依赖注入框架,方便搭建任何 Go 应用。 A Golang depenedency injection framework, helps developers to build any go application.
It looks like IoC frameworks do exist for Go (https://github.com/alibaba/IOC-golang for example). I'm sure the True Gosman would not use this but it exists nonetheless. It looks like there are some heretics in the community - how shall we exile these vile peoples?
-
-
copper
🚀 Copper is a Go toolkit complete with everything you need to build web apps. (by gocopper)
-
gin-boilerplate
The fastest way to deploy a restful api's with Gin Framework with a structured project that defaults to PostgreSQL database and JWT authentication middleware stored in Redis
-
Implementation of the gzip compression on Golang HTTP handler and requests might be adding a little complexity on your code, but I believe modern browser / API gateway these days can implement this easily without changing your code. Also this middleware created by NY Times can help you to minimize the effort on implementing this compression. You can find all the code used on in this article here.
-
-
the simplest sso library I found is https://github.com/go-pkgz/auth
-
-
easytcp
:sparkles: :rocket: EasyTCP is a light-weight TCP framework written in Go (Golang), built with message router. EasyTCP helps you build a TCP server easily fast and less painful.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Middleware related posts
- Alternative to AdGuard’s ad-blocking DNS servers?
- Any good homelabs or K8’s projects to practice container orchestration
- NextDNS vs Control D as compared by Control D owner
- Httptest response recorder returns the wrong status code.
- go-chi create auth middleware
- The "BEST web framework" ?
- PIANO: A Simple and Lightweight HTTP Framework Implemented in Go
-
A note from our sponsor - SonarQube
www.sonarqube.org | 8 Feb 2023
Index
What are some of the best open-source Middleware projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | Gin | 66,123 |
2 | Echo | 24,835 |
3 | chi | 13,242 |
4 | resty | 7,261 |
5 | KrakenD | 5,399 |
6 | go-grpc-middleware | 5,185 |
7 | goku_lite | 2,958 |
8 | gin-swagger | 2,799 |
9 | alice | 2,740 |
10 | secure | 2,073 |
11 | martian | 1,815 |
12 | Faygo | 1,580 |
13 | nosurf | 1,372 |
14 | grpc-tools | 1,114 |
15 | IOC-golang | 990 |
16 | gentleman | 975 |
17 | copper | 905 |
18 | gin-boilerplate | 859 |
19 | gziphandler | 818 |
20 | Gearbox | 703 |
21 | auth | 672 |
22 | mortar | 643 |
23 | easytcp | 553 |