2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-10-17 22:50:52 +01:00
|
|
|
|
|
|
|
package controlhttp
|
|
|
|
|
|
|
|
import (
|
|
|
|
"tailscale.com/control/controlbase"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ClientConn is a Tailscale control client as returned by the Dialer.
|
|
|
|
//
|
|
|
|
// It's effectively just a *controlbase.Conn (which it embeds) with
|
|
|
|
// optional metadata.
|
|
|
|
type ClientConn struct {
|
|
|
|
// Conn is the noise connection.
|
|
|
|
*controlbase.Conn
|
|
|
|
}
|