Len returns the current connection count (for metrics/telemetry).
()
| 137 | |
| 138 | // Len returns the current connection count (for metrics/telemetry). |
| 139 | func (t *Table) Len() int { |
| 140 | t.mu.RLock() |
| 141 | defer t.mu.RUnlock() |
| 142 | return len(t.m) |
| 143 | } |
no outgoing calls