stuntest

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 11 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