Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> devel >> golang-github-gorilla-mux-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-gorilla-mux  ]

套件: golang-github-gorilla-mux-dev (1.1-4)

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.

其他與 golang-github-gorilla-mux-dev 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 golang-github-gorilla-mux-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 25.7 kB133 kB [文件列表]