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