move datacenter api out of skynet

This commit is contained in:
Cloud Wu
2014-04-29 15:57:11 +08:00
parent 61e3904de8
commit f161dbb0ea
2 changed files with 14 additions and 8 deletions

View File

@@ -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