MCPcopy
hub / github.com/tinode/chat / topicPut

Method topicPut

server/hub.go:96–99  ·  view source on GitHub ↗
(name string, t *Topic)

Source from the content-addressed store, hash-verified

94}
95
96func (h *Hub) topicPut(name string, t *Topic) {
97 h.numTopics++
98 h.topics.Store(name, t)
99}
100
101func (h *Hub) topicDel(name string) {
102 h.numTopics--

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected