Go Middleware

Open-source Go projects categorized as Middleware

Top 23 Go Middleware Projects

  1. 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.

    Project mention: What Is the Best Web Framework for Go? | dev.to | 2025-05-13

    ⭐ Gin on GitHub (80k+ stars)

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Echo

    High performance, minimalist Go web framework

    Project mention: What Is the Best Web Framework for Go? | dev.to | 2025-05-13

    ⭐ Echo on GitHub (30k+ stars)

  4. chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: Stop OOMs with Semaphores | dev.to | 2025-05-12

    Example: The following code snippet was adapted from go-chi: https://github.com/go-chi/chi. It creates a simple web server with one http endpoint to process large files provided as multipart requests, and uses a semaphore to limit global concurrency, ensuring the service never processes more than a fixed number of files at once — regardless of how many users hit the endpoint.

  5. resty

    Simple HTTP, REST, and SSE client library for Go

    Project mention: Making HTTP Requests Like a Pro in Go: Using go-resty with GoFrame 🚀 | dev.to | 2025-02-02

    Check out the go-resty docs for more features

  6. KrakenD

    Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

  7. go-grpc-middleware

    Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.

  8. gin-swagger

    gin middleware to automatically generate RESTful API documentation with Swagger 2.0.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. alice

    Painless middleware chaining for Go

  11. goku_lite

    A Powerful HTTP API Gateway in pure golang!Goku API Gateway (中文名:悟空 API 网关)是一个基于 Golang开发的微服务网关,能够实现高性能 HTTP API 转发、服务编排、多租户管理、API 访问权限控制等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行 API 服务治理、提高 API 服务的稳定性和安全性。

  12. secure

    HTTP middleware for Go that facilitates some quick security wins.

  13. martian

    Martian is a library for building custom HTTP/S proxies

  14. nosurf

    CSRF protection middleware for Go.

  15. 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.

  16. grpc-tools

    A suite of gRPC debugging tools. Like Fiddler/Charles but for gRPC.

  17. IOC-golang

    IOC-golang is a powerful golang dependency injection framework that provides a complete implementation of IoC containers.

  18. auth

    Authenticator via oauth2, direct, email and telegram (by go-pkgz)

  19. 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

  20. gentleman

    Plugin-driven, extensible HTTP client toolkit for Go

  21. copper

    🚀‏‏‎ ‎‏‏‎‏‏‎‎‎‎‎‎Copper is a Go toolkit complete with everything you need to build web apps. (by gocopper)

  22. gziphandler

    Go middleware to gzip HTTP responses

  23. echo-swagger

    echo middleware to automatically generate RESTful API documentation with Swagger 2.0.

  24. 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.

  25. souin

    An HTTP cache system, RFC compliant, compatible with @tyktechnologies, @traefik, @caddyserver, @go-chi, @bnkamalesh, @beego, @devfeel, @labstack, @gofiber, @go-goyave, @go-kratos, @gin-gonic, @roadrunner-server, @zalando, @zeromicro, @nginx and @apache

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Middleware discussion

Log in or Post with

Go Middleware related posts

  • Stop OOMs with Semaphores

    1 project | dev.to | 12 May 2025
  • Gin: The Go Web Framework That Will Blow Your Mind!

    1 project | dev.to | 28 Apr 2025
  • How I Developed the Viewscount Library: Solving the Problem of Organic View Counting in Golang

    1 project | dev.to | 20 Feb 2025
  • xun VS Gin - a user suggested alternative

    2 projects | 24 Jan 2025
  • Go vs Node.js vs PHP: Which Framework Outperforms the Other in Speed and Efficiency?

    1 project | dev.to | 20 Jan 2025
  • What is Rate Limiter and Why Use It?

    2 projects | dev.to | 7 Jan 2025
  • Show HN: WalledGarden – A SIM You Control (RBI/GeoAuth/VPN/NGFW/Socks/Pcap/SDX)

    2 projects | news.ycombinator.com | 11 Dec 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Middleware projects in Go? This list will help you:

# Project Stars
1 Gin 82,142
2 Echo 30,971
3 chi 19,731
4 resty 10,834
5 KrakenD 6,535
6 go-grpc-middleware 6,506
7 gin-swagger 3,974
8 alice 3,233
9 goku_lite 3,127
10 secure 2,306
11 martian 2,021
12 nosurf 1,632
13 Faygo 1,601
14 grpc-tools 1,226
15 IOC-golang 1,217
16 auth 1,196
17 gin-boilerplate 1,115
18 gentleman 1,091
19 copper 939
20 gziphandler 878
21 echo-swagger 851
22 easytcp 819
23 souin 789

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com