mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
3e71e0ef68
Followup to #7177 to avoid adding extra dependencies to the CLI. We instead declare an interface for the link monitor. Signed-off-by: Mihai Parparita <mihai@tailscale.com>
22 lines
348 B
Go
22 lines
348 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !tailscale_go || !(darwin || ios || android)
|
|
|
|
package sockstats
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
func withSockStats(ctx context.Context, label string) context.Context {
|
|
return ctx
|
|
}
|
|
|
|
func get() *SockStats {
|
|
return nil
|
|
}
|
|
|
|
func setLinkMonitor(lm LinkMonitor) {
|
|
}
|