GitHub topics

middleware

Mostly in Web Frameworks 38%

Repositories

146

Total stars

270,144

Trending

gin-gonic

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

Created Jun 2014

framework gin go middleware performance
Total 89,643
30 days +267
go-chi

lightweight, idiomatic and composable router for building Go HTTP services

Created Oct 2015

api context go golang http
Total 23,151
30 days +197
tinyauthapp

The tiniest OpenID Certified™ authorization and authentication server you have ever seen.

Created Jan 2025

2fa authentication caddy golang middleware
Total 8,532
30 days +147
labstack

High performance, minimalist Go web framework

Created Mar 2015

echo go http2 https labstack-echo
Total 32,842
30 days +74
StaysUp

Cross-vendor middleware for coding agents: every model call, its cost and the full conversation, through one gateway.

Created Nov 2026

ai-agents claude-code codex golang llm
Total 67
30 days +67
hainuoli

A progressive Go toolkit. Small packages, familiar APIs.

Created Nov 2026

go golang http middleware net-http
Total 52
30 days +52
wenlng

🖖 GoCaptcha: A high-performance, interactive behavior captcha library for Go. Supporting click, slide, drag-drop, and rotation modes to secure your applications with ease.

Created Jul 2021

base64 base64-captcha behavior-analysis captcha captcha-generator
Total 2,478
30 days +35
go-resty

Simple HTTP, REST, and SSE client library for Go

Created Aug 2015

backoff circuit-breaker curl-command digest-authentication go
Total 11,842
30 days +30
gorilla

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍

Created Oct 2012

go golang gorilla gorilla-web-toolkit http
Total 21,851
30 days +21
swaggo

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

Created Jun 2017

gin gin-middleware gin-swagger golang middleware
Total 4,246
30 days +11

Top

Top 50 of 146

gin-gonic

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

Created Jun 2014

framework gin go middleware performance
Total 89,643
labstack

High performance, minimalist Go web framework

Created Mar 2015

echo go http2 https labstack-echo
Total 32,842
go-chi

lightweight, idiomatic and composable router for building Go HTTP services

Created Oct 2015

api context go golang http
Total 23,151
gorilla

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍

Created Oct 2012

go golang gorilla gorilla-web-toolkit http
Total 21,851
go-resty

Simple HTTP, REST, and SSE client library for Go

Created Aug 2015

backoff circuit-breaker curl-command digest-authentication go
Total 11,842
tinyauthapp

The tiniest OpenID Certified™ authorization and authentication server you have ever seen.

Created Jan 2025

2fa authentication caddy golang middleware
Total 8,532
luraproject

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

Created Nov 2016

api-gateway apis backend-services gateway gateway-api
Total 6,811
grpc-ecosystem

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

Created May 2016

authentication generic-functions golang grpc interceptor
Total 6,765
swaggo

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

Created Jun 2017

gin gin-middleware gin-swagger golang middleware
Total 4,246
justinas

Painless middleware chaining for Go

Created May 2014

go handler middleware web
Total 3,377
eolinker

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

Created Apr 2018

api api-gateway gateway goku microservices
Total 3,122
alibaba

Sentinel Go enables reliability and resiliency for Go microservices

Created Apr 2019

cloud-native go golang microservice microservices
Total 2,966
XiaoMi

Gaea is a mysql proxy, it's developed by xiaomi b2c-dev team.

Created May 2019

database middleware
Total 2,769
wenlng

🖖 GoCaptcha: A high-performance, interactive behavior captcha library for Go. Supporting click, slide, drag-drop, and rotation modes to secure your applications with ease.

Created Jul 2021

base64 base64-captcha behavior-analysis captcha captcha-generator
Total 2,478
unrolled

HTTP middleware for Go that facilitates some quick security wins.

Created May 2014

go golang middleware security
Total 2,360
karldoenitz

Tigo is an HTTP web framework written in Go (Golang).It features a Tornado-like API with better performance. Tigo是一款用Go语言开发的web应用框架,API特性类似于Tornado并且拥有比Tornado更好的性能。

Created Jul 2018

go golang middleware rest-api restful
Total 2,196
google

Martian is a library for building custom HTTP/S proxies

Created Jun 2015

golang http middleware proxy testing
Total 2,040
justinas

CSRF protection middleware for Go.

Created Aug 2013

csrf go middleware security
Total 1,757
gorilla

Package gorilla/handlers is a collection of useful middleware for Go HTTP services & web applications 🛃

Created Feb 2013

go golang gorilla gorilla-web-toolkit handler
Total 1,747
eolinker

基于golang开发的网关。具有各种插件,可以自行扩展,即插即用。此外,它可以快速帮助企业管理API服务,提高API服务的稳定性和安全性。

Created Jul 2021

api api-gateway apigateway apinto dubbo2
Total 1,687
andeya

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.

Created Jan 2016

auto-api-doc golang hot-update http2 http2-push
Total 1,591
devfeel

Simple and easy go web micro framework

Created Nov 2016

cache dotweb go golang goweb
Total 1,381
go-pkgz

Authenticator via oauth2, direct, email and telegram

Created Dec 2018

authentication custom-oauth2 go golang jwt
Total 1,357
bradleyjkemp

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

Created Apr 2019

debugging-tool grpc interceptor middleware proxy
Total 1,242
alibaba

一款服务于 Go 开发者的依赖注入框架,方便搭建任何 Go 应用。 A Golang depenedency injection framework, helps developers to build any go application.

Created May 2022

annotation aop debug dependency-injection golang
Total 1,230
gorilla

Package gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services 🔒

Created Aug 2015

csrf csrf-protection csrf-tokens go golang
Total 1,212
h2non

Plugin-driven, extensible HTTP client toolkit for Go

Created Feb 2016

client consul golang http http-client
Total 1,138
darkweak

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

Created Oct 2019

cache caddy caddy-module caddy-plugin caddy-server
Total 1,017
gocopper

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

Created Dec 2018

api go golang middleware router
Total 937
swaggo

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

Created Jun 2017

echo echo-framework golang middleware swagger2
Total 925
nytimes

Go middleware to gzip HTTP responses

Created Jan 2015

go golang gzip http middleware
Total 894
DarthPestilane

✨ 🚀 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.

Created Apr 2021

go golang middleware router tcp
Total 820
lunny

This is only a mirror and Moved to https://gitea.com/lunny/tango

Created Dec 2014

golang middleware webframework
Total 819
gogearbox

Gearbox ⚙️ is a web framework written in Go with a focus on high performance

Created Apr 2020

api fasthttp framework gearbox go
Total 806
piupuer

由gin + gorm + jwt + casbin组合实现的RBAC权限管理脚手架Golang版, 搭建完成即可快速、高效投入业务开发

Created May 2020

casbin gin gin-admin go go-admin
Total 753
go-masonry

Mortar is a GO framework/library for building gRPC (and REST) web services.

Created Aug 2020

dependency-injection di fx golang grpc
Total 678
tom-draper

Easy monitoring and analytics for API frameworks.

Created Nov 2022

actix analytics api api-analytics api-monitoring
Total 657
samber

🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

Created Apr 2023

attribute error errors go golang
Total 646
yoyofx

🦄🌈 YoyoGo is a simple, light and fast , dependency injection based micro-service framework written in Go. Support Nacos ,Consoul ,Etcd ,Eureka ,kubernetes.

Created Aug 2019

consul consul-agent containers dependency-injection eureka
Total 584
swaggo

Default net/http wrapper to automatically generate RESTful API documentation with Swagger 2.0.

Created Feb 2018

golang middleware swagger2
Total 579
rookie-ninja

Build microservice with rk-boot and let the team take over clean and tidy code.

Created Jul 2020

echo echo-middleware gin gin-middleware go
Total 569
teambition

A lightweight, composable and high performance web service framework for Go.

Created Oct 2016

framework gear go hooks http2
Total 544
caicloud

Golang Restful API Framework for Productivity

Created Sep 2017

cli engineering framework golang middleware
Total 517
hhftechnology

A microservice that allows you to add custom middleware to Pangolin / Traefik resources.

Created Apr 2025

middleware middleware-manager pangolin traefik ui
Total 516
xyproto

🔐 Middleware for keeping track of users, login states and permissions

Created Nov 2014

bcrypt middleware permissions redis sessions
Total 509
mustafaakin

A different approach to Go web frameworks

Created Jun 2016

dependency-injection framework go middleware web
Total 504
zsais

Gin Web Framework Prometheus metrics exporter

Created Sep 2015

gin-gonic go middleware prometheus
Total 486
slok

Go modular http middleware to measure HTTP requests independent of metrics backend (with Prometheus and OpenCensus as backend implementations) and http framework/library

Created Mar 2019

echo echo-framework gin gin-framework go
Total 443
messkan

Cut LLM costs by up to 80% and unlock sub-millisecond responses with intelligent semantic caching.A drop-in, provider-agnostic LLM proxy written in Go with sub-millisecond response

Created Nov 2025

ai badgerdb cache claude cost-optimization
Total 427
hb-chen

Go web framework Echo example.

Created Mar 2016

bindata confd echo go gorm
Total 417

Related

All topics →