Git Product home page Git Product logo

tgameserver's Introduction

TGameServer

codecov Travis CI Discourse posts

TGame服务端

使用Go + TCP + UDP +My

Tested on darwin, linux, and windows.


├── Gameproto       // 协议
├── app             // 核心逻辑处理层
├── config          // 配置
├── logs            // 日志配置
├── manager         // 管理器
└── main.go         // 入口.go
TGame服务端 version1.0.0

参考资料

Go 语言使用 net 包实现 Socket 网络编程 https://zhuanlan.zhihu.com/p/143346084

Go语言TCP/UDP编程 https://blog.csdn.net/guidao13/article/details/84037778

Go 语言自学教程入门到精通实战进阶提升(学习路线+思维导图+视频教程+面试题+学习工具+大厂实战手册)https://www.magedu.com/84998.html
1.go env -w GO111MODULE=auto
2.go env -w GOPROXY=https://goproxy.cn/  或者
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/

go get -u github.com/golang/protobuf/protoc-gen-go

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go get github.com/golang/protobuf/proto
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest


protobuf解决办法
https://blog.csdn.net/qq_36532540/article/details/107304949

使用protobuf gogo
https://github.com/gogo/protobuf.git

tgameserver's People

Contributors

alextangxiao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.