SetDERPRegionDialer updates the dialer to use for connecting to DERP regions.
(dialer func(ctx context.Context, region *tailcfg.DERPRegion) net.Conn)
| 536 | |
| 537 | // SetDERPRegionDialer updates the dialer to use for connecting to DERP regions. |
| 538 | func (c *Conn) SetDERPRegionDialer(dialer func(ctx context.Context, region *tailcfg.DERPRegion) net.Conn) { |
| 539 | c.magicConn.SetDERPRegionDialer(dialer) |
| 540 | } |
| 541 | |
| 542 | // UpdatePeers connects with a set of peers. This can be constantly updated, |
| 543 | // and peers will continually be reconnected as necessary. |
no outgoing calls
no test coverage detected