edge

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package edge provides a client for the Tailscale DERP (Designated Edge Router Protocol) service.

Index

Constants

View Source
const ProviderTailscaleDERP = "tailscale-derp"

Variables

This section is empty.

Functions

func Measure

func Measure(ctx context.Context, opts ...OpOption) (latency.Latencies, error)

Measure measures the latencies from local to the global edge nodes.

Types

type Op

type Op struct {
	// contains filtered or unexported fields
}

type OpOption

type OpOption func(*Op)

func WithVerbose

func WithVerbose(verbose bool) OpOption

Directories

Path Synopsis
Package derpmap provides the tailscale derp map implementation.
Package derpmap provides the tailscale derp map implementation.
sync
"sync" syncs the tailscale derp map.
"sync" syncs the tailscale derp map.

Jump to

Keyboard shortcuts

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