Skip to content

Commit

Permalink
up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Jul 17, 2019
1 parent 5cff905 commit a320c1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
新的连接。那么此时就要求客户端不再对其发起请求。因此EasySwoole RPC提供了NodeManager接口,你可以以任何的形式来
监控你的服务提供者,在getServiceNode方法中,返回对应的服务器节点信息即可。

###EasySwoole RPC执行流程
### EasySwoole RPC执行流程

服务端:
注册RPC服务,创建相应的服务swoole table表(ps:记录调用成功和失败的次数)
Expand Down Expand Up @@ -72,7 +72,7 @@ $server=ServerManager::getInstance()->getSwooleServer();
$rpc->attachToServer($server);
```
### Test-Server
######使用redis节点管理器,swoole-table节点管理器使用参考test里面的ServerTable
#### 使用redis节点管理器,swoole-table节点管理器使用参考test里面的ServerTable
```php
use EasySwoole\Rpc\Config;
use EasySwoole\Rpc\Rpc;
Expand Down

0 comments on commit a320c1d

Please sign in to comment.