Registry / web-framework / dimfeld-httptreemux-v5

dimfeld-httptreemux-v5

JSON →
library5.5.0gogounverified

High-speed, flexible HTTP router for Go, inspired by httprouter using a patricia tree.

go get github.com/dimfeld/httptreemux/v5
INSTALL
IMPORT
SIG · DIMFELD-HTTPTREEMU
D
dimfeld-httptreemux-v5
web-frameworkgov5.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

httptreemux
github.com/dimfeld/httptreemux/v5

Create a router with path parameters.

import "github.com/dimfeld/httptreemux/v5" router := httptreemux.New() router.GET("/hello/:name", func(w http.ResponseWriter, r *http.Request, params map[string]string) { fmt.Fprintf(w, "Hello, %s!", params["name"]) }) http.ListenAndServe(":8080", router)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Resources
dimfeld-httptreemux-v5 — go get dimfeld-httptreemux-v5 · libregistry