mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
merge servicecache branch
This commit is contained in:
@@ -112,6 +112,7 @@ function COMMAND.help()
|
||||
start = "lanuch a new lua service",
|
||||
snax = "lanuch a new snax service",
|
||||
clearcache = "clear lua code cache",
|
||||
service = "List unique service",
|
||||
}
|
||||
end
|
||||
|
||||
@@ -137,3 +138,7 @@ function COMMAND.snax(...)
|
||||
return "Failed"
|
||||
end
|
||||
end
|
||||
|
||||
function COMMAND.service()
|
||||
return skynet.call("SERVICE", "lua", "LIST")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user