summaryrefslogtreecommitdiffhomepage
path: root/feature/condregister/condregister.go
blob: e0d72b7ac293cf79d3a317338f549f921d232361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) Tailscale Inc & contributors
// 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"
)