(appid uint32, name string)
| 115 | } |
| 116 | |
| 117 | func (h *Hub) topicKey(appid uint32, name string) string { |
| 118 | return strconv.FormatInt(int64(appid), 32) + "!" + name |
| 119 | } |
| 120 | |
| 121 | func (h *Hub) topicGet(appid uint32, name string) *Topic { |
| 122 | return h.topics[h.topicKey(appid, name)] |