Registry / web-framework / didip-tollbooth-chi

didip-tollbooth-chi

JSON →
library0.0.0-20250112173903-88de5e56a7ccgogounverified

HTTP rate-limiting middleware for the Chi router, built on top of the Tollbooth library.

go get github.com/didip/tollbooth_chi
INSTALL
IMPORT
SIG · DIDIP-TOLLBOOTH-CH
D
didip-tollbooth-chi
web-frameworkgov0.0.0-20250112173903-88de5e56a7cc
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.

tollbooth_chi
github.com/didip/tollbooth_chi

Apply rate limiting to a Chi router

package main import ( "github.com/didip/tollbooth_chi" "github.com/go-chi/chi/v5" "net/http" ) func main() { r := chi.NewRouter() r.Use(tollbooth_chi.LimitHandler(nil)) http.ListenAndServe(":8080", r) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20250112173903-88de5e56a7cclatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
didip-tollbooth-chi — go get didip-tollbooth-chi · libregistry