//
pkg.gl
Category
github.com/issue9/mux/v7
internal
tree
package
7.4.2
Repository:
https://github.com/issue9/mux.git
Documentation:
pkg.go.dev
Overview
Versions
9
Dependencies
10
Dependents
2
Files
692 SLOC
#
Functions
ApplyMiddleware
No description provided by the author
BuildTestMiddleware
No description provided by the author
BuildTestNodeHandlerFunc
No description provided by the author
New
No description provided by the author
NewTestTree
NewTestTree 返回以 http.Handler 作为参数实例化的 Tree.
#
Variables
Methods
Methods 所有支持请求方法.
#
Structs
Tree
Tree 以树节点的形式保存的路由 多段路由项,会提取其中的相同的内容组成树状结构的节点。比如以下路由项: /posts/{id}/author /posts/{id}/author/emails /posts/{id}/author/profile /posts/1/author 会被转换成以下结构 /posts | +---- 1/author | +---- {id}/author/ | +---- profile | +---- emails.