mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-27 11:41:14 +00:00
Saves 139 KB. Also Synology support, which I saw had its own large-ish proxy parsing support on Linux, but support for proxies without Synology proxy support is reasonable, so I pulled that out as its own thing. Updates #12614 Change-Id: I22de285a3def7be77fdcf23e2bec7c83c9655593 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
19 lines
680 B
Go
19 lines
680 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// The condregister package registers all conditional features guarded
|
|
// by build tags. It is one central package that callers can empty import
|
|
// to ensure all conditional features are registered.
|
|
package condregister
|
|
|
|
import (
|
|
// Portmapper is special in that the CLI also needs to link it in,
|
|
// so it's pulled out into its own package, rather than using a maybe_*.go
|
|
// file in condregister.
|
|
_ "tailscale.com/feature/condregister/portmapper"
|
|
|
|
// HTTP proxy support is also needed by the CLI, and tsnet, so it's its
|
|
// own package too.
|
|
_ "tailscale.com/feature/condregister/useproxy"
|
|
)
|