Hub returns the server's conversation hub broker, or nil when the hub is disabled. Used to co-locate the gateway in the server process so adapter appends publish to live subscribers through the same in-memory fan-out.
()
| 221 | // disabled. Used to co-locate the gateway in the server process so adapter |
| 222 | // appends publish to live subscribers through the same in-memory fan-out. |
| 223 | func (s *Server) Hub() hub.Broker { return s.hubBroker } |
| 224 | |
| 225 | // Start begins listening and serving gRPC requests. |
| 226 | // It blocks until the server is stopped via signal or Stop(). |
no outgoing calls
no test coverage detected