add skynet.trace()

This commit is contained in:
Cloud Wu
2018-05-26 16:26:50 +08:00
parent 348e53245b
commit e53d985c4f
3 changed files with 113 additions and 5 deletions

View File

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