tailscale/tsnet
Will Norris 3344c3b89b tsnet: add Server method to listener
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>
2022-09-02 16:29:49 -07:00
..
example/tshello tsnet: add TLS and LetsEncrypt example. 2021-10-12 15:31:18 -07:00
tsnet.go tsnet: add Server method to listener 2022-09-02 16:29:49 -07:00
tsnet_test.go tsnet: add Server method to listener 2022-09-02 16:29:49 -07:00