#1 Chi
Package chi is a small, idiomatic and composable router for building HTTP services.
Package mux implements a request router and dispatcher.
Health score 80/100, confidence 100/100.
| Latest version | v1.8.1 |
| Imported by | 99.5K packages |
| Stars | 21.8K |
| Forks | 1.9K |
| Last activity | 1 years ago |
| Latest release | v1.8.1 (2 years ago) |
| License | BSD-3-Clause |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| BuildVarsFunc | Type | type BuildVarsFunc func(map[string]string) map[string]string |
| MatcherFunc | Type | type MatcherFunc func(*http.Request, *RouteMatch) bool |
| MatcherFunc.Match | Method | func (m MatcherFunc) Match(r *http.Request, match *RouteMatch) bool |
| MiddlewareFunc | Type | type MiddlewareFunc func(http.Handler) http.Handler |
| CORSMethodMiddleware | Function | func CORSMethodMiddleware(r *Router) MiddlewareFunc |
| MiddlewareFunc.Middleware | Method | func (mw MiddlewareFunc) Middleware(handler http.Handler) http.Handler |
| Route | Type | type Route struct{} |
| CurrentRoute | Function | func CurrentRoute(r *http.Request) *Route |
| Route.BuildOnly | Method | func (r *Route) BuildOnly() *Route |
| Route.BuildVarsFunc | Method | func (r *Route) BuildVarsFunc(f BuildVarsFunc) *Route |
| Route.GetError | Method | func (r *Route) GetError() error |
| Route.GetHandler | Method | func (r *Route) GetHandler() http.Handler |
Package chi is a small, idiomatic and composable router for building HTTP services.
Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation
Golang HTTP router
Package chi is a small, idiomatic and composable router for building HTTP services.
Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation
Package httprouter is a trie based high performance HTTP request router.
Golang HTTP router
Package rux is a simple and fast request router for golang HTTP applications.