mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
添加get_protocol接口 (#1712)
* 添加get_protocol接口 * 添加_proto字段 --------- Co-authored-by: zixun <lb151450@alibaba-inc.com>
This commit is contained in:
@@ -45,6 +45,7 @@ local skynet = {
|
||||
|
||||
-- code cache
|
||||
skynet.cache = require "skynet.codecache"
|
||||
skynet._proto = proto
|
||||
|
||||
function skynet.register_protocol(class)
|
||||
local name = class.name
|
||||
|
||||
Reference in New Issue
Block a user