Terry-Ye / im

纯go实现的分布式im即时通讯系统,各层可单独部署,之间通过rpc通讯

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

运行logic出现问题

hzde0128 opened this issue · comments

./logic
INFO[0000] RPCAddrs :tcp@localhost:6924
2019/10/10 14:54:17 Connected to 127.0.0.1:2181
INFO[0000] start http listen:"tcp@0.0.0.0:6921"
2019/10/10 14:54:17 authenticated: id=72063386894270471, timeout=10000
2019/10/10 14:54:17 re-submitting `0` credentials after reconnect
2019/10/10 14:54:17 service.go:140: ERROR: rpcx.Register: no service name for type *main.LogicRpc
2019/10/10 14:54:17 server.go:174: INFO : server pid:14852

在 logic/logic.toml 的 [zookeeper] 添加以下配置(代码已更新)
serverPathLogic = "LogicRpc"