ahuang

Results 2 issues of ahuang

a message include an enum value, when use toJSON func, the enum will be changed to a string ,however, this is not what i want.

[个人编写框架mydog]( https://github.com/ahuangege/mydog) 对比优势: 1. typescript编写,这对于团队开发和维护,效率杠杠的,bug也少了。 2. pomelo网关服收到客户端消息后,会解码,然后用json再次编码才转发到后端服,后端服给客户端发消息时同理。而mydog在网关服收到消息并不会解码,会直接将buffer数据转发到后端服。所以,mydog在发收消息时都会比pomelo少一次编解码,减少cpu压力。 3. rpc调用时,完整的参数提示,如同调用本地函数,真香。 4. 欢迎了解使用。