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

httpadapter

package
v0.7.22 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 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 added in v0.5.0

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

type Handler

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

func NewHandler added in v0.5.0

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

func (*Handler) ServeHTTP

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

type HostConfigError added in v0.5.0

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