mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-22 04:32:40 +09:00
Move Type and its constants to an unconditional file so syspolicy, and its dependents such as tsnet, compile with ts_omit_clientmetrics. Fixes #22252 Change-Id: Ib9ca1c192e3e1c570aa32d41650d72fbff1aff0c Signed-off-by: Fredrik Fornwall <fredrik@fornwall.net>
13 lines
217 B
Go
13 lines
217 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package clientmetric
|
|
|
|
// Type is a metric type: counter or gauge.
|
|
type Type uint8
|
|
|
|
const (
|
|
TypeGauge Type = iota
|
|
TypeCounter
|
|
)
|