RPC参考 ¶
同步 think-worker ¶
日期:2023-0202
文件转换
think/worker/Http.php ➡️ shiyunWorker/process/HttpServer.php
think/worker/Events.php ➡️ shiyunWorker/process/GatewayEvents.php
think/worker/Server.php ➡️ shiyunWorker/WorkermanServer.php
同步 jsonrpc ¶
- 参考:https://github.com/walkor/workerman-jsonrpc
- 日期:2023-0202
/Applications/JsonRpc/start.php ➡️ shiyunWorker\process\JsonRpcServer;
/Applications/JsonRpc/Clients/RpcClient.php ➡️ shiyunWorker\rpc\driver\workerman\JsonRpcClient.php;
php
// 原本是 直接加载
use shiyunWorker\rpc\driver\workerman\JsonRpcClient;
// 现在改为加载
use shiyunWorker\rpc\JsonRpcClient;
该 JsonRpcClient 根据 driver 类型去调用
shiyunWorker\rpc\driver\workerman\JsonRpcClient
同步 statistics ¶
- 参考:https://github.com/walkor/workerman-statistics
- 日期:2023-0202
其他参考 ¶
https://gitlab.com/hzc27180129/think-workerman-jsonrpchttps://blog.csdn.net/qq_32727513/article/details/120551727