magiclvzs / antnet Goto Github PK
View Code? Open in Web Editor NEWA game server net framework in Golang go(Golang)游戏服务器网络框架
A game server net framework in Golang go(Golang)游戏服务器网络框架
建议有空加个常见场景的示例再代码里?
如题
go get -v github.com/magiclvzs/antnet
github.com/magiclvzs/antnet
github.com/magiclvzs/antnet/db_redis.go:185:4: re.WrapProcess undefined (type *Redis has no field or method WrapProcess)
不知道如何下手
在README.md文件中telent 127.0.0.1 6666错误
应该是telnet
全局消息是用65535的数组来做一个环形的缓存队列,但是gmsgId一直都是++,在用完65535的时候是不是得重置为0从头开始,包括取消息(r *msgQue) getGMsg中r.gmsgId++也是。
在wsserver测试实例中调整这个数组为var gmsgArray = [10]*gMsg{},全局聊天10个消息后就会异常了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.