oohelperd

package
v3.22.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// EnableQUIC OPTIONALLY enables QUIC.
	EnableQUIC bool
	// contains filtered or unexported fields
}

Handler is an http.Handler implementing the Web Connectivity test helper HTTP API.

The zero value is invalid; construct using NewHandler.

func NewHandler

func NewHandler(logger model.Logger, netx *netxlite.Netx) *Handler

NewHandler constructs the [handler].

func (*Handler) ServeHTTP

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

ServeHTTP implements http.Handler.

Jump to

Keyboard shortcuts

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