Giter Club home page Giter Club logo

go-xserver's Introduction

go-xserver

go-xserver 是一个 Golang 服务器框架(go-x.v2)

致力于实现 1 个高可用、高易用的 Golang 服务器框架

并以插件的方式,来丰富框架内容

编译

运行

  • 安装 Redis ,并修改 config/config.toml 相关配置

  • All In One 例子

    ./make.sh start
    ./make.sh stop
  • Run In WSL 例子

    ./wsl.sh start
    ./wsl.sh stop

    wsl 目前监听同一个端口不报错,详细请参考 issue : microsoft/WSL#2915

    因此 wsl.sh 脚本中具体指定下 --network-port 参数

测试客户端

缺省插件

v0.1

  • 管理服务器
  • 登陆服务器
  • 网关服务器
    • 客户端消息中继
    • 服务器组内消息中继
  • 大厅服务器
    • 获取角色列表(登录大厅服务)
    • 创建角色
    • 获取角色详细信息(进入游戏)
    • 登出游戏
    • 角色聊天(世界聊天、私聊)

v0.2

  • 参考 micro/go-micro 改造框架层代码
  • 服务发现重做,参考 micro/go-micro 提炼 接口,并默认支持 mdns

WIKI

ISSUE

将要实现的功能

  • 框架层功能
    • 灰度更新
    • 服务器健康监测
  • 逻辑层功能
    • 匹配服务
    • 房间服务
    • 压测工具

go-xserver's People

Contributors

fananchong 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.