mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
@@ -108,14 +108,6 @@ function snax.newservice(name, ...)
|
||||
return snax.bind(handle, name)
|
||||
end
|
||||
|
||||
local function service_name(global, name, ...)
|
||||
if global == true then
|
||||
return name
|
||||
else
|
||||
return global
|
||||
end
|
||||
end
|
||||
|
||||
function snax.uniqueservice(name, ...)
|
||||
local handle = assert(skynet.call(".service", "lua", "LAUNCH", "snaxd", name, ...))
|
||||
return snax.bind(handle, name)
|
||||
|
||||
Reference in New Issue
Block a user