mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
add sharemap , an example of stm
This commit is contained in:
@@ -53,9 +53,9 @@ function sproto:encode(typename, tbl)
|
||||
return core.encode(st, tbl)
|
||||
end
|
||||
|
||||
function sproto:decode(typename, bin)
|
||||
function sproto:decode(typename, ...)
|
||||
local st = querytype(self, typename)
|
||||
return core.decode(st, bin)
|
||||
return core.decode(st, ...)
|
||||
end
|
||||
|
||||
function sproto:pencode(typename, tbl)
|
||||
|
||||
Reference in New Issue
Block a user