# mqant_base **Repository Path**: kinkle/mqant_base ## Basic Information - **Project Name**: mqant_base - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mqant_base ## 简介 搭建一个mqant为基础的游戏框架 示例工程目录,基本用法 ## 相关引用 | 名称 | 仓库地址 | 文档地址 | 说明 | | ---- | ---- | ---- | ---- | | mqant | [github](https://github.com/liangdas/mqant) | [文档](http://docs.mqant.com/) | 基础框架 | | gin | [github](https://github.com/gin-gonic/gin) | [文档](https://www.jianshu.com/p/98965b3ff638/) | web框架 | | consul | [consul官网](https://www.consul.io/) | [文档](https://www.jianshu.com/p/7d20dc58c9fc) | 服务发现 | | nats | [nats官网](https://docs.nats.io/) | [文档](https://www.jianshu.com/p/2110d4f43d04) | 消息中间件 | | gorm | [github](https://github.com/jinzhu/gorm) | [文档](http://gorm.book.jasperxu.com/) | orm框架 | | go-redis/redis | [github](https://github.com/go-redis/redis) | [文档](https://redis.uptrace.dev/) | redis访问 | ## 开发环境 - golang 1.14 - docker 19.03.8 - docker-compose 1.25 - goland 2020.1.3 ## 工程说明 - [docker-compose](./docker-compose.yml) 启动 consul & nats - go build - ./mqant_base -pid development // 启动主进程 - ./mqant_base -pid d2 // 启动第二进程 - 运行 ./request/hello.http 可以看到web请求接口 - 运行 ./example/hello.go 可以看到tcp长链接请求