mux

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(pattern string, h http.HandlerFunc)

func Delete

func Delete(pattern string, h http.HandlerFunc)

func Get

func Get(pattern string, h http.HandlerFunc)

func Group

func Group(fn func(r chi.Router)) chi.Router

func Handle

func Handle(pattern string, h http.Handler)

func HandleFunc

func HandleFunc(pattern string, h http.HandlerFunc)
func Head(pattern string, h http.HandlerFunc)

func Method

func Method(method, pattern string, h http.Handler)

func MethodFunc

func MethodFunc(method, pattern string, h http.HandlerFunc)

func MethodNotAllowed

func MethodNotAllowed(h http.HandlerFunc)

func Mount

func Mount(pattern string, h http.Handler)

func Mux

func Mux() *chi.Mux

func NotFound

func NotFound(h http.HandlerFunc)

func Options

func Options(pattern string, h http.HandlerFunc)

func Patch

func Patch(pattern string, h http.HandlerFunc)

func Post

func Post(pattern string, h http.HandlerFunc)

func Put

func Put(pattern string, h http.HandlerFunc)

func Route

func Route(pattern string, fn func(r chi.Router)) chi.Router

func Trace

func Trace(pattern string, h http.HandlerFunc)

func Use

func Use(middlewares ...func(http.Handler) http.Handler)

func With

func With(middlewares ...func(http.Handler) http.Handler) chi.Router

Types

This section is empty.

Jump to

Keyboard shortcuts

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