chat
chat copied to clipboard
bug fix
1,fix the port confict when deploy gonet2/game service 2,import local package here instead
port should be mapped from docker to the outside or a standalone IP in k8s, keep all services share a same inside port for etcd discovery
- chat/kafka本地引用就可以了吧,感觉这个chat和您gonet2项目的其它子模块(game,agent...)引用方式不太一致.
- no docker,搭建本地开发环境的时候chat服务和game服务服务端口冲突
端口已经参数化了 https://github.com/xtaci/chat/blob/master/main.go#L31