Skip to content

yicaoyimuys/GoGameServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

592d2e7 · Oct 9, 2023
Oct 9, 2023
Oct 9, 2023
Oct 9, 2018
Oct 9, 2023
Mar 2, 2021
Sep 27, 2018
Sep 27, 2023
Oct 9, 2023
Oct 9, 2023
Sep 30, 2022
Sep 27, 2018
Mar 2, 2021
Mar 2, 2021
Oct 9, 2022

Repository files navigation

GoGameServer

使用go搭建的一个游戏服务器项目 1:consul作为服务注册/发现中心,便于服务的动态扩容 2:与客户端的通信协议使用protobuf 3:服务之间支持基于TCP的ipc,rpc通信 4:缓存使用redis 5:数据库支持mysql、mongodb

结构图

image

启动说明

启动consul
启动mysql(config/local/mysql.json)
启动redis(config/local/redis.json)
执行sh run.sh启动服务器
执行sh stop.sh停止服务器
执行sh test.sh启动测试服务器
执行sh proto.sh生成proto文件

About

A game server in Go (golang)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published