Code Monkey home page Code Monkey logo

Comments (5)

Creat-qc avatar Creat-qc commented on June 2, 2024

没有找到HD相关的功能代码,up可以解释一下吗

from mqant.

liangdas avatar liangdas commented on June 2, 2024

可以不用HD开头了,已经移除了相关代码,现在可以定义你自己的topic路由协议,现在内置了一个uri路由协议
uriroute.NewURIRoute

//注意这里一定要用 gate.Gate 而不是 module.BaseModule
this.Gate.OnInit(this, app, settings,
gate.Heartbeat(time.Second5),
gate.BufSize(2048
20),
gate.SetRouteHandler(this),
gate.SetSessionLearner(this),
gate.SetStorageHandler(this),
gate.MaxPackSize(65535*2),
)

from mqant.

Creat-qc avatar Creat-qc commented on June 2, 2024

好的,多谢前辈,之后研究下,是对应在线文档中的 自定义通讯协议小节吗

from mqant.

Creat-qc avatar Creat-qc commented on June 2, 2024

前辈,之前设置 HD 是有其他地方的考量吗,怕冲突吗?不太了解这块,所以想问下之前设计的用意

from mqant.

liangdas avatar liangdas commented on June 2, 2024

为了隔离c-s通讯和s-s接口,如果不隔离担心客户端请求服务端的私有接口,有安全风险

from mqant.

Related Issues (20)

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.