This commit is contained in:
2021-10-25 18:20:28 +08:00
parent d82b2228b4
commit 65064c04f4
3 changed files with 25 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
"php": ">=8.0",
"ext-json": "*",
"ext-rdkafka": "*",
"psr/event-dispatcher": "^1.0"
"google/protobuf": "^3.17"
},
"autoload": {
"psr-4": {
+1 -1
View File
@@ -3,7 +3,7 @@
namespace Kiri\Rpc;
use Exception;
use Swoole\Coroutine\Http\Client as CoroutineClient;
use Swoole\Coroutine\Http\Handler\Client as CoroutineClient;
class Client
{
+23
View File
@@ -0,0 +1,23 @@
<?php
return [
'rpc' => [
'consumers' => [
'userService' => [
'type' => 'json',
'class' => ''
]
]
]
];