mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 11:33:09 +00:00
queue mode
This commit is contained in:
@@ -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, [[
|
||||
|
||||
|
||||
Reference in New Issue
Block a user