h3

package
v0.0.0-...-109c5d9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitQuicClient

func InitQuicClient(h2 *auth.Auth, destHost string) *http.Client

InitQuicClient will configure h2.QuicClient as mtls using the h2 private key QUIC_GO_LOG_LEVEL

func InitQuicServer

func InitQuicServer(h2 *auth.Auth, port int, handler http.Handler) error

InitQuicServer starts a regular QUIC server, bound to a port, using the H2 certificates.

func InitQuicServerConn

func InitQuicServerConn(auth *auth.Auth, port int,
	conn net.PacketConn, handler http.Handler) error

InitQuicServerConn starts a QUIC server, using H2 certs, on a connection.

Types

type H3

type H3 struct {
	Certs *auth.Auth
	// contains filtered or unexported fields
}

func NewH3

func NewH3(certs *auth.Auth) *H3

Jump to

Keyboard shortcuts

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