go棋牌游戏服务器框架

上传者: u014059976 | 上传时间: 2021-05-07 18:14:32 | 文件大小: 39KB | 文件类型: ZIP
1. Gateway更名为Proxy,DBProxy更名为DB 2. Proxy同时持有与(Login, Game)不同类型服务器的多条连接 3. DB不参与负载均衡,考虑是棋牌数据库负载不高,即使需要扩展多个也可以通过不同服务器配置指向不同的DB来扩展 4. 消息头格式以源码实现的为主 5. 心跳机制在不考虑客户端的前提下,服务端会主动发送心跳包,但并非总是特定间隔时间发送

文件下载

资源详情

[{"title":"( 40 个子文件 39KB ) go棋牌游戏服务器框架","children":[{"title":"framework-master","children":[{"title":"client.go <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"utils.go <span style='color:#111;'> 791B </span>","children":null,"spread":false},{"title":"trace.go <span style='color:#111;'> 576B </span>","children":null,"spread":false},{"title":"schedule.go <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"db","children":[{"title":"processor.go <span style='color:#111;'> 6.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"db.go <span style='color:#111;'> 858B </span>","children":null,"spread":false},{"title":"manager.go <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"proxy","children":[{"title":"processor.go <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"selected.go <span style='color:#111;'> 871B </span>","children":null,"spread":false},{"title":"session.go <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"define","children":[{"title":"error.go <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"interface.go <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"global.go <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false},{"title":"config.go <span style='color:#111;'> 821B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"game","children":[{"title":"user_item.go <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false},{"title":"example_test.go <span style='color:#111;'> 971B </span>","children":null,"spread":false},{"title":"processor.go <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"table_manager.go <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"table_frame.go <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false},{"title":"user_manager.go <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"fiveinarow","children":[{"title":"logic_test.go <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"define.go <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":"table_logic.go <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false}],"spread":false},{"title":"landlords","children":[{"title":"table_logic.go <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"game.go <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"proxy.go <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"login.go <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"network","children":[{"title":"client.go <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"network.go <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"server.go <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"rpc.go <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"config","children":[{"title":"db.json <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"login.json <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"manager.json <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"game.json <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"proxy.json <span style='color:#111;'> 114B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"manager","children":[{"title":"processor.go <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false}],"spread":false},{"title":"login","children":[{"title":"processor.go <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明