mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-24 01:26:39 +00:00
feature/ace: make ACE modular
Updates #12614 Change-Id: Iaee75d8831c4ba5c9705d7877bb78044424c6da1 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
141eb64d3f
commit
223ced84b5
@@ -28,6 +28,8 @@ type Dialer struct {
|
||||
ACEHostIP netip.Addr // optional; if non-zero, use this IP instead of DNS
|
||||
ACEPort int // zero means 443
|
||||
|
||||
// NetDialer optionally specifies the underlying dialer to use to reach the
|
||||
// ACEHost. If nil, net.Dialer.DialContext is used.
|
||||
NetDialer func(ctx context.Context, network, address string) (net.Conn, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user