http3

package module
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CertPath string
View Source
var ErrInvalidName = errors.New("not a valid domain name")
View Source
var KeyPath string

Functions

func DecodeQPack

func DecodeQPack() error

func DoHTTPS

func DoHTTPS(name, tp string) (*dns.MsgHdr, []dns.RR, []dns.RR, []dns.RR, error)

func PrintResult

func PrintResult(hdr *dns.MsgHdr, rr, ns, ex []dns.RR)

func RunHTTP3

func RunHTTP3()

Types

type Handler

type Handler struct{}

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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