[ buster ]
[ bullseye ]
[ bullseye-backports ]
[ bookworm ]
[ bookworm-backports ]
[ trixie ]
[ sid ]
[ 源代码: golang-github-gorilla-mux ]
软件包:golang-github-gorilla-mux-dev(1.8.0-1~bpo11+1)
golang-github-gorilla-mux-dev 的相关链接
Debian 的资源:
下载源码包 golang-github-gorilla-mux:
- [golang-github-gorilla-mux_1.8.0-1~bpo11+1.dsc]
- [golang-github-gorilla-mux_1.8.0.orig.tar.gz]
- [golang-github-gorilla-mux_1.8.0-1~bpo11+1.debian.tar.xz]
维护小组:
- Debian Go Packaging Team (QA 页面)
- Arnaud Rebillout (QA 页面)
- Tianon Gravi (QA 页面)
- Tim Potter (QA 页面)
- Anthony Fok (QA 页面)
外部的资源:
- 主页 [github.com]
相似软件包:
powerful URL router and dispatcher for golang
Package gorilla/mux implements a request router and dispatcher.
The name mux stands for "HTTP request multiplexer". Like the standard http.ServeMux, mux.Router matches incoming requests against a list of registered routes and calls a handler for the route that matches the URL or other conditions. The main features are:
* Requests can be matched based on URL host, path, path prefix, schemes, header and query values, HTTP methods or using custom matchers. * URL hosts and paths can have variables with an optional regular expression. * Registered URLs can be built, or "reversed", which helps maintaining references to resources. * Routes can be used as subrouters: nested routes are only tested if the parent route matches. This is useful to define groups of routes that share common conditions like a host, a path prefix or other repeated attributes. As a bonus, this optimizes request matching. * It implements the http.Handler interface so it is compatible with the standard http.ServeMux.