Go Middleware

Open-source Go projects categorized as Middleware

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.

  • Project mention: How to Build and Document a Go REST API with Gin and Go-Swagger | dev.to | 2024-03-08

    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:

  • Echo

    High performance, minimalist Go web framework

  • Project mention: Go + Hypermedia - A Learning Journey (Part 1) | dev.to | 2024-02-23

    Echo - web framework for Go

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

  • Project mention: Deploy a Golang serverless function for a demo form with htmx | dev.to | 2024-03-30

    I use go-chi for handling routes and to server static file(stylesheet).

  • resty

    Simple HTTP and REST client library for Go

  • KrakenD

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

  • go-grpc-middleware

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

  • Project mention: Seeking advice on implementing a tinyurl-like service using Go and gRPC. | /r/golang | 2023-05-24

    Hello, Those interviews are even crazy for internship. Anyway 1. Try to find a simple CRUD example online. You can check [this](https://tutorialedge.net/golang/go-grpc-beginners-tutorial/) 2. For logging you can check [go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) 3. You can grpc-gateway in case they want some REST endpoints too 4. Use base62 to encode your url. So at least 2 columns in your table **shortenedUrl** and **url** 5. For such a project no need to use an ORM ( it's not advised anyway ). Implement 2 functions, one to insert into the db and the other one to read from the db. Remember to use transaction though 5. For unit tests go with the standard library and mock the 2 functions ( erroneous and valid cases )

  • gin-swagger

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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • goku_lite

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

  • alice

    Painless middleware chaining for Go

  • secure

    HTTP middleware for Go that facilitates some quick security wins.

  • martian

    Martian is a library for building custom HTTP/S proxies

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

  • nosurf

    CSRF protection middleware for Go.

  • grpc-tools

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

  • IOC-golang

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

  • gentleman

    Plugin-driven, extensible HTTP client toolkit for Go

  • 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

  • copper

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

  • auth

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

  • Project mention: How to build Auth in 2023 with go? | /r/golang | 2023-05-31
  • gziphandler

    Go middleware to gzip HTTP responses

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

  • Gearbox

    Gearbox :gear: is a web framework written in Go with a focus on high performance

  • echo-swagger

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

  • 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). The latest post mention was on 2024-03-30.

Go Middleware related posts


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

Project Stars
1 Gin 75,354
2 Echo 28,466
3 chi 16,999
4 resty 9,309
5 KrakenD 6,046
6 go-grpc-middleware 6,025
7 gin-swagger 3,558
8 goku_lite 3,083
9 alice 2,976
10 secure 2,208
11 martian 1,957
12 Faygo 1,601
13 nosurf 1,481
14 grpc-tools 1,185
15 IOC-golang 1,183
16 gentleman 1,064
17 gin-boilerplate 1,000
18 copper 939
19 auth 908
20 gziphandler 856
21 easytcp 790
22 Gearbox 742
23 echo-swagger 734
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives