Git Product home page Git Product logo

claw's Introduction

Claw

GoDoc

game server framework & engine (golang)

Run

Run template

1. Run master

./run.py -t master

2. Run a harbor

./run.py -t harbor1

Run examples

please see the README.md in examples

Architecture

TODO

Code Flow

Code Flow

Services

master 集群中心控制节点

监听一个端口,等待各harbor链接上来并处理或转发harbor传过来的消息。

目前消息只有两种类型service.master.LOGIN和service.master.BROADCAST。

harbor 工作节点

各具体业务逻辑服务均工作在harbor上。harbor启动时去master注册自己,然后监听master广播过来的消息,并转发给自己内部相应服务。

error 集中处理错误信息

接受各服务传过来的错误消息,然后做集中处理,例如打印在控制台或者记录日志,或者入库。

gate 门卫

所有TCP链接接入gate服务,gate服务充当服务器上各服务于客户端的沟通桥梁。

web 网页服务

web服务实现一个http服务器

test 测试服务

可以往这里发送测试数据或者调试信息

agent 代理服务

TODO

Engine

net

TODO

claw's People

Contributors

yangsf5 avatar

Stargazers

 avatar

Watchers

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