mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-18 19:41:03 +00:00

Allow callers to verify that a net.Listener is a tsnet.listener by type asserting against this Server method, as well as providing access to the underlying Server. This is initially being added to support the caddy integration in caddyserver/caddy#5002. Signed-off-by: Will Norris <will@tailscale.com>