DERPMap returns the currently set DERP mapping.
()
| 596 | |
| 597 | // DERPMap returns the currently set DERP mapping. |
| 598 | func (c *Conn) DERPMap() *tailcfg.DERPMap { |
| 599 | c.configMaps.L.Lock() |
| 600 | defer c.configMaps.L.Unlock() |
| 601 | return c.configMaps.derpMapLocked() |
| 602 | } |
| 603 | |
| 604 | // AwaitReachable pings the provided IP continually until the |
| 605 | // address is reachable. It's the callers responsibility to provide |
nothing calls this directly
no test coverage detected