MCPcopy Create free account
hub / github.com/diillson/chatcli / Hub

Method Hub

server/server.go:223–223  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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.
223func (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().

Callers 1

startColocatedGatewayFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected