stuntest

package
v1.61.0-pre Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: BSD-3-Clause Imports: 12 Imported by: 8

Documentation

Overview

Package stuntest provides a STUN test server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DERPMapOf

func DERPMapOf(stun ...string) *tailcfg.DERPMap

func Serve

func Serve(t testing.TB) (addr *net.UDPAddr, cleanupFn func())

func ServeWithPacketListener added in v1.0.0

func ServeWithPacketListener(t testing.TB, ln nettype.PacketListener) (addr *net.UDPAddr, cleanupFn func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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