handler

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

A Handler is a function that process a path.MatchingContext and returns a response.HttpResponse or an error

func Handler2Handler

func Handler2Handler(handler http.Handler) Handler

The Handler2Handler adapts a GO http.Handler to a Handler

func HandlerFunc2Handler

func HandlerFunc2Handler(handlerFunc http.HandlerFunc) Handler

The HandlerFunc2Handler adapts a GO http.HandlerFunc to a Handler

Jump to

Keyboard shortcuts

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