2025-01-22 11:56:36 -08:00
|
|
|
// 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
|
2025-09-15 19:50:21 -07:00
|
|
|
|
|
|
|
|
import (
|
2025-09-30 09:12:42 -07:00
|
|
|
// 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.
|
2025-09-15 19:50:21 -07:00
|
|
|
_ "tailscale.com/feature/condregister/portmapper"
|
2025-09-30 09:12:42 -07:00
|
|
|
|
|
|
|
|
// HTTP proxy support is also needed by the CLI, and tsnet, so it's its
|
|
|
|
|
// own package too.
|
|
|
|
|
_ "tailscale.com/feature/condregister/useproxy"
|
2025-09-15 19:50:21 -07:00
|
|
|
)
|