GoGameServer:Go(golang)中的游戏服务器

时间:2021-05-08 00:15:09
【文件属性】:
文件名称:GoGameServer:Go(golang)中的游戏服务器
文件大小:233KB
文件格式:ZIP
更新时间:2021-05-08 00:15:09
Go GoGameServer 使用go搭建的一个游戏服务器项目 1:consul作为服务注册/发现中心,便于服务的动态扩容 2:与客户端的通信协议使用protobuf 3:服务之间支持基于TCP的ipc,rpc通信 4:缓存使用redis 5:数据库支持mysql、mongodb 结构图 启动说明 启动consul 启动mysql(config/local/mysql.json) 启动redis(config/local/redis.json) 执行sh run.sh启动服务器 执行sh stop.sh停止服务器 执行sh test.sh启动测试服务器 执行sh proto.sh生成proto文件
【文件预览】:
GoGameServer-master
----.gitignore(94B)
----go.mod(498B)
----stop.sh(315B)
----core()
--------libs()
--------service()
--------config()
--------protos()
--------messages()
--------consts()
--------global.go(619B)
----test.sh(80B)
----proto.sh(158B)
----GoGameServer.png(151KB)
----readme(127B)
----go.sum(30KB)
----dbs()
--------user.sql(1KB)
----README.md(631B)
----run.sh(459B)
----config()
--------local()
----servives()
--------api()
--------login()
--------log()
--------chat()
--------public()
--------game()
--------connector()
--------test()

网友评论