MCPcopy Index your code
hub / github.com/tinode/chat / run

Method run

server/topic.go:218–224  ·  view source on GitHub ↗
(hub *Hub)

Source from the content-addressed store, hash-verified

216)
217
218func (t *Topic) run(hub *Hub) {
219 if !t.isProxy {
220 t.runLocal(hub)
221 } else {
222 t.runProxy(hub)
223 }
224}
225
226// getPerUserAcs returns `want` and `given` permissions for the given user id.
227func (t *Topic) getPerUserAcs(uid types.Uid) (types.AccessMode, types.AccessMode) {

Callers

nothing calls this directly

Calls 2

runLocalMethod · 0.95
runProxyMethod · 0.95

Tested by

no test coverage detected