Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 0.9% forks on proxy.golang.org
Top 0.2% docker downloads on proxy.golang.org
proxy.golang.org : github.com/go-chi/chi/v5
Package chi is a small, idiomatic and composable router for building HTTP services. chi requires Go 1.14 or newer. Example: See github.com/go-chi/chi/_examples/ for more in-depth examples. URL patterns allow for easy matching of path components in HTTP requests. The matching components can then be accessed using chi.URLParam(). All patterns must begin with a slash. A simple named placeholder {name} matches any sequence of characters up to the next / or the end of the URL. Trailing slashes on paths must be handled explicitly. A placeholder with a name followed by a colon allows a regular expression match, for example {number:\\d+}. The regular expression syntax is Go's normal regexp RE2 syntax, except that regular expressions including { or } are not supported, and / will never be matched. An anonymous regexp pattern is allowed, using an empty string before the colon in the placeholder, such as {:\\d+} The special placeholder of asterisk matches the rest of the requested URL. Any trailing characters in the pattern are ignored. This is the only placeholder which will match / characters. Examples:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/go-chi/chi/v5
Keywords:
api
, context
, go
, golang
, http
, microservices
, middleware
, rest-api
, router
License: MIT
Latest release: 3 months ago
First release: about 4 years ago
Namespace: github.com/go-chi/chi
Dependent packages: 6,010
Dependent repositories: 8,374
Stars: 13,683 on GitHub
Forks: 869 on GitHub
Docker dependents: 1,920
Docker downloads: 1,239,120,578
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/pkieltyka
Last synced: about 10 hours ago