mqant

package module
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

README

mqant

mqant是一款基于Golang语言的简洁,高效,高性能的分布式微服务游戏服务器框架,研发的初衷是要实现一款能支持高并发,高性能,高实时性,的游戏服务器框架,也希望mqant未来能够做即时通讯和物联网方面的应用

特性

  1. 高性能分布式
  2. 支持分布式服务注册发现,是一款功能完整的微服务框架
  3. 基于golang协程,开发过程全程做到无callback回调,代码可读性更高
  4. 远程RPC使用nats作为通道
  5. 网关采用MQTT协议,无需再开发客户端底层库,直接套用已有的MQTT客户端代码库,可以支持IOS,Android,websocket,PC等多平台通信
  6. 默认支持mqtt协议,同时网关也支持开发者自定义的粘包协议

文档

在线文档 在线文档-访问不了用这个

模块

将不断加入更多的模块

mqant组件库

    短信验证码
    房间模块

压力测试工具:armyant

社区贡献的库

mqant-docker MQTT-Laya

应用案例

恰玩-实时互动游戏社交app

演示示例

mqant 项目只包含mqant的代码文件
mqantserver 项目包括了完整的测试demo代码和mqant所依赖的库
如果你是新手可以优先下载mqantserver项目进行试验

在线Demo演示源码下载

多人对战吃小球游戏(绿色小球是在线玩家,点击屏幕任意位置移动小球,可以同时开两个浏览器测试,支持移动端)源码下载

贡献者

欢迎提供dev分支的pull request

bug请直接通过issue提交

凡提交代码和建议, bug的童鞋, 均会在下列贡献者名单者出现

  1. xlionet
  2. lulucas
  3. c2matrix
  4. bjfumac【mqant-docker】[MQTT-Laya]
  5. jarekzha 【jarekzha-master】

打赏作者

Documentation

Overview

Package mqant mqant

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApp

func CreateApp(opts ...module.Option) module.App

CreateApp 创建mqant的app实例

Types

This section is empty.

Directories

Path Synopsis
Package app mqant默认应用实现
Package app mqant默认应用实现
examples
Package gate 长连接网关定义
Package gate 长连接网关定义
base
Package basegate handler
Package basegate handler
Package httpgateway provides an http-rpc handler which provides the entire http request over rpc
Package httpgateway provides an http-rpc handler which provides the entire http request over rpc
api
errors
Package errors provides a way to return detailed information for an rpc request error.
Package errors provides a way to return detailed information for an rpc request error.
log
Package log beego日志
Package log beego日志
beego
Package logs provide a general log interface Usage:
Package logs provide a general log interface Usage:
Package module 模块定义
Package module 模块定义
base
Package basemodule 模块管理
Package basemodule 模块管理
modules
* 一定要记得在confin.json配置这个模块的参数,否则无法使用
* 一定要记得在confin.json配置这个模块的参数,否则无法使用
Package network 网络代理
Package network 网络代理
Package registry is an interface for service discovery
Package registry is an interface for service discovery
etcdv3
Package etcdv3 provides an etcd version 3 registry
Package etcdv3 provides an etcd version 3 registry
rpc
Package mqrpc rpc接口定义
Package mqrpc rpc接口定义
pb
Package selector is a way to load balance service nodes
Package selector is a way to load balance service nodes
cache
Package cache is a caching selector.
Package cache is a caching selector.
Package server is an interface for a micro server
Package server is an interface for a micro server
Package mqanttools 工具箱
Package mqanttools 工具箱
aes
fatih/structs
Package structs contains various utilities functions to work with structs.
Package structs contains various utilities functions to work with structs.
ip

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL