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: Migrating Next.js App to GO + Templ & HTMX | dev.to | 2024-05-05

    Echo for the web server.

  • 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

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

  • KrakenD

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

  • gin-swagger

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

Go Middleware related posts

  • Preventing SQL Injection with Golang

    2 projects | dev.to | 26 Mar 2024
  • Password-less Login in Go from Scratch

    1 project | dev.to | 21 Feb 2024
  • Chi: Lightweight, idiomatic and composable router for building Go HTTP services

    1 project | news.ycombinator.com | 2 Feb 2024
  • Error handling in Go web apps shouldn't be so awkward

    1 project | dev.to | 10 Jan 2024
  • From Django or Flask to Sponge: How to Easily Develop High-Performance Web Services with Golang

    1 project | dev.to | 8 Jan 2024
  • Evitando SQL Injection com Golang

    2 projects | dev.to | 27 Dec 2023
  • API completa em Golang - Parte 1

    8 projects | dev.to | 1 Dec 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 15 May 2024
    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. Learn more →

Index

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

Project Stars
1 Gin 75,668
2 Echo 28,593
3 chi 17,202
4 resty 9,401
5 go-grpc-middleware 6,080
6 KrakenD 6,094
7 gin-swagger 3,581
8 goku_lite 3,083
9 alice 2,996
10 secure 2,216
11 martian 1,962
12 Faygo 1,601
13 nosurf 1,520
14 grpc-tools 1,185
15 IOC-golang 1,182
16 gentleman 1,066
17 gin-boilerplate 1,004
18 copper 941
19 auth 926
20 gziphandler 858
21 easytcp 791
22 Gearbox 746
23 echo-swagger 741

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com