httprouter

package module
v1.2.115 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(r *httprouter.Router, path string, handle httprouter.Handle)

func WrapF

WrapF is a helper function for wrapping http.HandlerFunc Returns a httprouter middleware

func WrapH

func WrapH(h http.Handler) httprouter.Handle

WrapH is a helper function for wrapping http.Handler Returns a httprouter middleware

func WrapHTTPRouterF

func WrapHTTPRouterF(f httprouter.Handle) http.HandlerFunc

WrapHTTPRouterF is a helper function for wrapping httprouter.Handle Returns a http middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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