Registry / web-framework / husobee-vestigo

husobee-vestigo

JSON →
library1.1.1gogounverified

Vestigo is a performant, stand-alone HTTP URL router for Go web applications using a radix trie.

go get github.com/husobee/vestigo
INSTALL
IMPORT
SIG · HUSOBEE-VESTIGO
H
husobee-vestigo
web-frameworkgov1.1.1
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.

vestigo
github.com/husobee/vestigo

Basic HTTP router with path parameters

package main import ( "net/http" "github.com/husobee/vestigo" ) func main() { router := vestigo.NewRouter() router.Get("/hello/:name", func(w http.ResponseWriter, r *http.Request) { name := vestigo.Param(r, "name") w.Write([]byte("Hello " + name)) }) http.ListenAndServe(":8080", router) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
husobee-vestigo — go get husobee-vestigo · libregistry