aceld / aceld/zinx

对于消息id(msgid)以及protobuf支持的优化

Open
#90 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
7.8k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

ZinX对于消息msgid的使用其实还可以再封装一层,比如用接口名的hash运算出的数当msgid,而不是程序自己维护,支持protobuf消息结构,新增msgid对于protobuf结构的映射,sendmsg的时候,其实可以通过反射来判断发送的msgid,而不是程序自己填,这样容易产生bug

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.