Help us shape the future of Go! Take the 2026 Go Developer Survey

tailnettest

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunDERPAndSTUN

func RunDERPAndSTUN(t *testing.T) *tailcfg.DERPMap

RunDERPAndSTUN creates a DERP mapping for tests.

func RunDERPOnlyWebSockets added in v0.18.1

func RunDERPOnlyWebSockets(t *testing.T) *tailcfg.DERPMap

RunDERPOnlyWebSockets creates a DERP mapping for tests that only allows WebSockets through it. Many proxies do not support upgrading DERP, so this is a good fallback.

Types

This section is empty.

Jump to

Keyboard shortcuts

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