dispatcher

package module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher interface {
	Dispatch(r *http.Request) http.Handler
}

dispatch to other http.Handler implementations

type DispatcherFunc

type DispatcherFunc func(*http.Request) http.Handler

wrapping Dispatcher into http.Handler

func (DispatcherFunc) ServeHTTP

func (d DispatcherFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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