testserver

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 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 h2quic.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 h2quic.Server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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