tailnettest

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 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