mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
add skynet.trace()
This commit is contained in:
@@ -2,6 +2,7 @@ local skynet = require "skynet"
|
||||
local snax = require "skynet.snax"
|
||||
|
||||
skynet.start(function()
|
||||
skynet.trace()
|
||||
local ps = snax.newservice ("pingserver", "hello world")
|
||||
print(ps.req.ping("foobar"))
|
||||
print(ps.post.hello())
|
||||
|
||||
Reference in New Issue
Block a user