testserver

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PRData contains dataLen bytes of pseudo-random data.
	PRData = GeneratePRData(dataLen)
	// PRDataLong contains dataLenLong bytes of pseudo-random data.
	PRDataLong = GeneratePRData(dataLenLong)
)

Functions

func Port

func Port() string

Port returns the UDP port of the QUIC server.

func StartQuicServer

func StartQuicServer(versions []protocol.VersionNumber)

StartQuicServer starts a http3.Server. versions is a slice of supported QUIC versions. It may be nil, then all supported versions are used.

func StopQuicServer

func StopQuicServer()

StopQuicServer stops the http3.Server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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