Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xuguoliangjj/go-server
参考开源的go-server,学习go
https://github.com/xuguoliangjj/go-server
Last synced: 24 minutes ago
JSON representation
参考开源的go-server,学习go
- Host: GitHub
- URL: https://github.com/xuguoliangjj/go-server
- Owner: xuguoliangjj
- Created: 2018-11-29T10:33:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T02:57:44.000Z (about 6 years ago)
- Last Synced: 2024-12-01T08:04:25.305Z (about 2 months ago)
- Language: Go
- Size: 11.3 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-server
goland 游戏服务器架构,mmo架构,ai行为树,配置data设计之初,建立在actor模式下的;rpc,以及消息驱动,rpc无需注册,支持int,数据,struct(struct必须要注册结构题即可);sql封装简单的orm,具体看demo
websocket模式下,要在net,websocket注视掉如下代码:https://studygolang.com/articles/14842
1.配置golang的gopath和goroot
2.bin目录下的sxz_server.cfg配置数据库以及端口
3.数据库在sql文件目录下生产
4.win下执行build.bat,start.bat
5.linux下执行build.sh,start.sh