README ¶ leaf太啰嗦了,修改了一下,撸起袖子就是干,修改如下 示例项目:传奇私服m2 leaf实现,自己找下我git 1.去除繁琐的暴露层,让他直接暴露 2.支持自定义tcp协议 3.支持协议解析处Conn连接回调,Close关闭回调 基本你想到的都有,思路是,能继承就继承,不能继承就直重写 Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Run(mods ...module.Module) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(mods ...module.Module) Types ¶ This section is empty. Source Files ¶ View all Source files leaf.go version.go Directories ¶ Show internal Expand all Path Synopsis chanrpc cluster conf console db mongodb gate go log module network json protobuf recordfile timer util Click to show internal directories. Click to hide internal directories.