(src uuid.UUID)
| 190 | } |
| 191 | |
| 192 | func (s *tunnelStore) removeAll(src uuid.UUID) { |
| 193 | for dst := range s.bySrc[src] { |
| 194 | s.remove(src, dst) |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | func (s *tunnelStore) findTunnelPeers(id uuid.UUID) []uuid.UUID { |
| 199 | set := make(map[uuid.UUID]struct{}) |