改名
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
{
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
|
||||
return [
|
||||
'rpc' => [
|
||||
|
||||
|
||||
'consumers' => [
|
||||
'userService' => [
|
||||
|
||||
'type' => 'json',
|
||||
|
||||
|
||||
'class' => ''
|
||||
|
||||
|
||||
]
|
||||
|
||||
|
||||
]
|
||||
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user