router

package
v0.0.0-...-8ce278b Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidMethod is an error that indicates not a valid http method.
	ErrInvalidMethod = httprouter.ErrInvalidMethod
	// ErrInvalidPath is an error that indicates path is not start with /.
	ErrInvalidPath = httprouter.ErrInvalidPath
)

Functions

func NewRouter

func NewRouter() httpx.Router

NewRouter returns a httpx.Router.

Types

This section is empty.

Directories

Path Synopsis
internal
httprouter
Package httprouter is a trie based high performance HTTP request router.
Package httprouter is a trie based high performance HTTP request router.

Jump to

Keyboard shortcuts

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