client_common.go 402 B

1234567891011121314151617
  1. // Copyright (c) Tailscale Inc & contributors
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. package controlhttp
  4. import (
  5. "tailscale.com/control/controlbase"
  6. )
  7. // ClientConn is a Tailscale control client as returned by the Dialer.
  8. //
  9. // It's effectively just a *controlbase.Conn (which it embeds) with
  10. // optional metadata.
  11. type ClientConn struct {
  12. // Conn is the noise connection.
  13. *controlbase.Conn
  14. }