gorillarouter

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GorillaRouter

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

GorillaRouter wraps a gorilla/mux router. It allows to use variables and regexps in URL path and query values.

func New

func New() *GorillaRouter

func (*GorillaRouter) HandleFunc

func (gr *GorillaRouter) HandleFunc(method, pattern string, handler func(http.ResponseWriter, *http.Request))

func (*GorillaRouter) ServeHTTP

func (gr *GorillaRouter) 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