Code Monkey home page Code Monkey logo

leaf's Introduction

请参考原版文档以及说明,与原版不兼容。主要修正包括:

  1. 移除了一些不需要的模块,如mongo的支持等,这些直接用第三方库即可;
  2. 将自己实现的log模块改为zap的,性能更好并支持json格式的日志;
  3. 将websocket的RemoteAddr返回值改为透过代理的(如果存在);
  4. 加上go mod支持,修改版本号为规范格式;
  5. protobuf消息支持自定义ID;
  6. 增加了大量utils函数;
  7. 增加了udp支持;将TCP的协议解析器和路由抽象出来,允许自行定义;
  8. 允许动态加载各module,允许热重启所有module;
  9. 增加了tcp和websocket的通用客户端;
  10. 关闭信号由chan bool改为chan struct{}

leaf's People

Contributors

heyilin416 avatar huazhihao avatar karllynnn avatar ljfuyuan avatar lonng avatar name5566 avatar pconcepcion avatar yiuterran avatar zsai001 avatar

Stargazers

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