feat: restful -> grpc gateway (#2155)

* Revert "chore: remove unimplemented gateway (#2139)"

This reverts commit d70e73ec66.

* feat: working gateway

* feat: use mr to make it faster

* feat: working gateway

* chore: add comments

* feat: support protoset besides reflection

* feat: support zrpc client conf

* docs: update readme

* feat: support grpc-metadata- header to gateway- header conversion

* chore: add docs
This commit is contained in:
Kevin Wan
2022-07-16 14:11:34 +08:00
committed by GitHub
parent 95a574e9e9
commit 13477238a3
9 changed files with 366 additions and 0 deletions

3
go.mod
View File

@@ -7,12 +7,15 @@ require (
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/alicebob/miniredis/v2 v2.22.0
github.com/fatih/color v1.13.0
github.com/fullstorydev/grpcurl v1.8.6
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
github.com/go-redis/redis/v8 v8.11.5
github.com/go-sql-driver/mysql v1.6.0
github.com/golang-jwt/jwt/v4 v4.4.2
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.5.2
github.com/google/uuid v1.3.0
github.com/jhump/protoreflect v1.12.0
github.com/justinas/alice v1.2.0
github.com/lib/pq v1.10.6
github.com/olekukonko/tablewriter v0.0.5