Registry / web-framework / uptrace-bunrouter

uptrace-bunrouter

JSON →
library1.0.23gogounverified

A fast, flexible HTTP router for Go with support for middleware and route groups.

go get github.com/uptrace/bunrouter
INSTALL
IMPORT
SIG · UPTRACE-BUNROUTER
U
uptrace-bunrouter
web-frameworkgov1.0.23
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.

bunrouter
github.com/uptrace/bunrouter

Minimal HTTP server using bunrouter with a route parameter.

package main import ( "fmt" "net/http" "github.com/uptrace/bunrouter" ) func main() { router := bunrouter.New() router.GET("/hello/:name", func(w http.ResponseWriter, req bunrouter.Request) error { fmt.Fprintf(w, "Hello, %s!", req.Param("name")) return nil }) http.ListenAndServe(":8080", router) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
uptrace-bunrouter — go get uptrace-bunrouter · libregistry