2023-01-28 05:37:20 +08:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-10-18 05:50:52 +08: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
|
|
|
|
}
|