feat: 服务端支持自定义处理粘包功能
Open
- Dominant language
- Go
- Stars
- 7.8k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
当前粘包处理依赖数据包中必须有长度信息,默写协议中,数据不具备长度信息,比如协议A定义以回车符号'\r'作为一帧的结束,这时候就需要自定义粘包处理,可以在server中添加一个属性 ,属性是一个方法,方法返回 ziface.IFrameDecoder,类似NewFrameDecoder方法
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.