Registry / web-framework / go-chi-stampede

go-chi-stampede

JSON →
library0.9.1gogounverified

An HTTP request deduplication and caching middleware for the Chi router.

go get github.com/go-chi/stampede
INSTALL
IMPORT
SIG · GO-CHI-STAMPEDE
G
go-chi-stampede
web-frameworkgov0.9.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.

stampede
github.com/go-chi/stampede

Use stampede middleware with Chi router.

package main import ( "net/http" "github.com/go-chi/chi/v5" "github.com/go-chi/stampede" ) func main() { r := chi.NewRouter() r.Use(stampede.Handler(512)) r.Get("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello")) }) http.ListenAndServe(":8080", r) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
go-chi-stampede — go get go-chi-stampede · libregistry