(outbound bool)
| 534 | } |
| 535 | |
| 536 | func (c *candidateBase) seen(outbound bool) { |
| 537 | if outbound { |
| 538 | c.setLastSent(time.Now()) |
| 539 | } else { |
| 540 | c.setLastReceived(time.Now()) |
| 541 | } |
| 542 | } |
| 543 | |
| 544 | func (c *candidateBase) addr() net.Addr { |
| 545 | return c.resolvedAddr |
no test coverage detected