tailscale

package
v4.0.0-alpha.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvLogPrefix is used for enabling debug log of a specific tsnet server
	EnvLogPrefix = "LOFT_LOG_TSNET_"
)

Variables

This section is empty.

Functions

func CheckDerpConnection

func CheckDerpConnection(ctx context.Context, baseUrl *url.URL) error

CheckDerpConnection takes a baseUrl and probes whether a derp connection can be established.

func TsnetLogger

func TsnetLogger(ctx context.Context, serverName string) logger.Logf

TsnetLogger returns a logger that logs to klog if the LOFT_LOG_TSNET_AGENT environment variable is set to true.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL