NestedChans returns a copy of the map of nested channels associated with the Channel.
()
| 76 | // NestedChans returns a copy of the map of nested channels associated with the |
| 77 | // Channel. |
| 78 | func (c *Channel) NestedChans() map[int64]string { |
| 79 | db.mu.RLock() |
| 80 | defer db.mu.RUnlock() |
| 81 | return copyMap(c.nestedChans) |
| 82 | } |
| 83 | |
| 84 | // Trace returns a copy of the Channel's trace data. |
| 85 | func (c *Channel) Trace() *ChannelTrace { |