hotfix snax supported

This commit is contained in:
Cloud Wu
2014-04-16 23:23:51 +08:00
parent df5c619a29
commit 58dfe38c4b
6 changed files with 150 additions and 14 deletions

View File

@@ -1,12 +1,16 @@
local skynet = require "skynet"
local i = 0
local hello = "hello"
function response.ping(hello)
skynet.sleep(100)
return hello
end
function subscribe.hello()
print "hello"
i = i + 1
print (i, hello)
end
function response.error()