From 169806e794b0ef646b4703cfb0e4b94de360562a Mon Sep 17 00:00:00 2001 From: webhook_bot Date: Tue, 7 May 2024 17:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90ga?= =?UTF-8?q?teway=E6=8A=BD=E8=B1=A1=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- tests/Mock/TestServerGatewayRpc.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 072ab5d..29b0c21 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ abstract grpc and grpc-gateway - [x] 支持配置化的默认调用行为 - [x] 支持OpenTelemetry链路追踪(grpc、gateway都已支持) - [x] 开发自动生成grpc原生客户端抽象层 [protoc-gen-php-abs-grpc](https://github.com/reatang/protoc-gen-php-abs-grpc) -- [ ] 开发自动生成grpc-gateway抽象层 `很显然,没搞呢` +- [x] 开发自动生成grpc-gateway抽象层: `--php-abs-grpc_opt=genType=gateway` 则生成gateway抽象层 ## 安装 diff --git a/tests/Mock/TestServerGatewayRpc.php b/tests/Mock/TestServerGatewayRpc.php index 4099e66..65d8d94 100644 --- a/tests/Mock/TestServerGatewayRpc.php +++ b/tests/Mock/TestServerGatewayRpc.php @@ -12,8 +12,6 @@ use \Reatang\GrpcPHPAbstract\Tests\Mock\PB\OTelResponse; /** - * @property TestServerClient $client - * * @method PingResponse Ping(PingRequest $request, array $opts = []) * @method OTelResponse OTel(OTelRequest $request, array $opts = []) *