Giter Club home page Giter Club logo

chat-here's People

Contributors

mingcw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chat-here's Issues

如果 gatewayworker 的 app 下面有多个应用的时候,是否要设置独立的 gateway 和 register 端口?

现在 gatewayworker/app/ 下面只有一个 chat 的应用,设置的 gateway 的端口号是 7272,register 的端口号是 1238。

如果在 app 下面再建立一个应用,是否需要重新换新的 gateway 端口号,不能再继续使用 7272 的端口号。还有 register 的端口号,也是不是需要重新换新的?


因为在一个微信小程序里面,有两个独立的功能,同时需要使用 websocket 服务,但是 websocket 又没有路由的概念,如果使用同一个 websocket 服务的话,又不知道如何去区分了。

如果使用不同的 gateway 端口号作为对外的服务,那么可以使用 nginx 的反向代理来映射到不同的子域名上面,目前想到的办法就是这个了。

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.