Help us shape the future of Go! Take the 2026 Go Developer Survey

httpadapter

package
v3.0.36 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Host  *host.Host
	Guard websecurity.Guard
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(deps Dependencies) (*Handler, error)

func (*Handler) ServeHTTP

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

type HostConfigError

type HostConfigError = host.HostConfigError

type Route

type Route struct {
	Method string
	Path   string
	Effect websecurity.RouteEffect
}

func RouteSet

func RouteSet() []Route

Jump to

Keyboard shortcuts

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