mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
export queryproto (#1605)
Co-authored-by: zixun <lb151450@alibaba-inc.com>
This commit is contained in:
@@ -107,6 +107,7 @@ local function queryproto(self, pname)
|
|||||||
|
|
||||||
return v
|
return v
|
||||||
end
|
end
|
||||||
|
sproto.queryproto = queryproto
|
||||||
|
|
||||||
function sproto:exist_proto(pname)
|
function sproto:exist_proto(pname)
|
||||||
local v = self.__pcache[pname]
|
local v = self.__pcache[pname]
|
||||||
|
|||||||
Reference in New Issue
Block a user