claw:游戏服务器框架和引擎(golang)

时间:2021-05-04 12:55:09
【文件属性】:
文件名称:claw:游戏服务器框架和引擎(golang)
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-04 12:55:09
Go Claw game server framework & engine (golang) Run Run template 1. Run master ./run.py -t master 2. Run a harbor ./run.py -t harbor1 Run examples please see the README.md in examples Architecture TODO Code Flow Services master 集群中心控制节点 监听一个端口,等待各harbor链接上来并处理或转发harbor传过来的消息。 目前消息只有两种类型service.master.LOGIN和service.master.BROADCAST。 harbor 工作节点 各具体业务逻辑服务均工作在harbor上。harbor启动时去master注册自己,然后监听master广播过来的
【文件预览】:
claw-develop
----.gitignore(264B)
----run.py(896B)
----template.go(496B)
----center()
--------center.go(2KB)
--------config.go(857B)
----engine()
--------net()
----README.md(1KB)
----service()
--------test.go(444B)
--------web.go(291B)
--------agent.go(164B)
--------error.go(279B)
--------must.go(458B)
--------gate.go(1KB)
--------web()
--------master()
--------gate()
--------master.go(1KB)
--------harbor.go(2KB)
----example()
--------chat()
--------stress()
----config()
--------config_harbor1.xml(234B)
--------config_master.xml(233B)

网友评论