mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
move datacenter api out of skynet
This commit is contained in:
@@ -649,12 +649,4 @@ function skynet.mqlen()
|
||||
return tonumber(c.command "MQLEN")
|
||||
end
|
||||
|
||||
function skynet.globalget(...)
|
||||
return skynet.call("DATACENTER", "lua", "QUERY", ...)
|
||||
end
|
||||
|
||||
function skynet.globalset(...)
|
||||
return skynet.call("DATACENTER", "lua", "UPDATE", ...)
|
||||
end
|
||||
|
||||
return skynet
|
||||
|
||||
Reference in New Issue
Block a user