mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
change skynet_send api (use uint32_t instead of string)
This commit is contained in:
@@ -5,20 +5,12 @@ skynet.dispatch()
|
||||
skynet.start(function()
|
||||
print("Server start")
|
||||
local lualog = skynet.launch("snlua","lualog")
|
||||
print("lualog",lualog)
|
||||
local launcher = skynet.launch("snlua","launcher")
|
||||
print("launcher", launcher)
|
||||
local remoteroot = skynet.launch("snlua","remote_root")
|
||||
print("remoteroot", remoteroot)
|
||||
local console = skynet.launch("snlua","console")
|
||||
print("console",console)
|
||||
local watchdog = skynet.launch("snlua","watchdog","8888 4 0")
|
||||
print("watchdog",watchdog)
|
||||
local db = skynet.launch("snlua","simpledb")
|
||||
print("simpledb",db)
|
||||
local connection = skynet.launch("connection","256")
|
||||
print("connection",connection)
|
||||
local redis = skynet.launch("snlua","redis-mgr")
|
||||
print("redis",redis)
|
||||
skynet.exit()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user