基于workerman 實現http2服務端 https://github.com/xioayangguang/workerman-http2 已支持h2, h2c 添加host 127.0.0.1 xxxxxxxx.cn 修改證書路徑 'ssl' => [ 'local_cert' => './draw.xxx.cn_bundle.pem', //修改成自己的路徑 'local_...
webmanTracer插件使用教程 webman的鏈路追蹤組件,基于xiaoyangguang/aop, 實現了基本的鏈路追蹤組件, 比如mysql es redis 開發(fā)者可自定義追蹤方法函數,實現自己需要追蹤的組件,可追蹤composer加載的三方庫,比如thinkorm的數據庫執(zhí)行函數 (可選擇自定義收集追蹤上報數據類,并配置在tracer.php中 如果example無法滿足你的需求) 插件安裝 co...
Aop插件使用教程 同時支持直接new和從容器獲取需要被切入的對象,也支持三方庫的切入vendor目錄下的類方法, 在不改變現有代碼的情況下切入需要切入的前置后置方法,用在統(tǒng)計http請求,Rpc,組件鏈路追蹤,日志記錄,統(tǒng)計函數耗時 修改函數返回結果的應用場景 插件安裝 composer require xiaoyangguang/aop 配置config\plugin\xiaoyangguang\aop\a...