Replies: 1 comment 6 replies
-
|
你可以写一个通用服务,把其它服务名作为这个服务的参数传入。然后用这个通用服务去加载所有你的自定义服务。 service 这个库就是这个做法。 另外,lua 服务的加载器本身就可以在 config 中指定的 https://github.com/cloudwu/skynet/blob/master/service-src/service_snlua.c#L425 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@cloudwu 云大有没有比较好的思路能否提供一下?
Beta Was this translation helpful? Give feedback.
All reactions