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.

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: Preventing SQL Injection with Golang | dev.to | 2024-03-26

    This will be the structure of our project, we will use PostgreSQL as the database, go chi to create our endpoints, go dot env to import our environment variables.

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

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

    Project mention: Why is gin so popular? | /r/golang | 2023-04-18

    i've used https://github.com/swaggo/echo-swagger

  • SaaSHub

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

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

Go Middleware related posts

Index

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

Project Stars
1 Gin 74,985
2 Echo 28,233
3 chi 16,857
4 resty 9,211
5 KrakenD 6,027
6 go-grpc-middleware 5,995
7 gin-swagger 3,499
8 goku_lite 3,084
9 alice 2,904
10 secure 2,198
11 martian 1,955
12 Faygo 1,601
13 nosurf 1,481
14 grpc-tools 1,184
15 IOC-golang 1,180
16 gentleman 1,060
17 gin-boilerplate 989
18 copper 935
19 auth 897
20 gziphandler 856
21 easytcp 787
22 Gearbox 738
23 echo-swagger 727
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com