queue mode

This commit is contained in:
Cloud Wu
2014-04-17 15:37:01 +08:00
parent 6d4d9f8758
commit 129b1cd90e
4 changed files with 77 additions and 7 deletions

View File

@@ -3,8 +3,8 @@ local snax = require "snax"
skynet.start(function()
local ps = snax.newservice ("pingserver", "hello world")
print(ps.pub.hello())
print(ps.req.ping("foobar"))
print(ps.pub.hello())
print(pcall(ps.req.error))
print("Hotfix (i) :", snax.hotfix(ps, [[