V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
sophos

GraphQL 转 gRPC 网关,第一个版本出来了

  •  
  •   sophos · Jul 19, 2024 · 1454 views
    This topic created in 656 days ago, the information mentioned may be changed or developed.

    接上文: https://v2ex.com/t/1056321

    前段时间在想着写个 GraphQL 转 gRPC 网关,可让端侧自由聚合 gRPC 微服务接口。

    参考了几个 Github 现有的开源项目,实现了第一个版本,欢迎体验。

    • 基于 gRPC reflection 生成 GraphQL schema
    • 基于 GraphQL 实现接口聚合
    • 基于 Etcd 实现 gRPC 服务发现
    • 支持限速、熔断、缓存、jwt 、singleflight 等
    • 支持 OpenTelemetry

    https://github.com/sysulq/graphql-grpc-gateway

    预祝周末愉快 :-)

    1 replies    2024-07-20 11:35:16 +08:00
    echoless
        1
    echoless  
       Jul 20, 2024
    会玩 👍
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6270 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 02:08 · PVG 10:08 · LAX 19:08 · JFK 22:08
    ♥ Do have faith in what you're doing.