//
pkg.gl
Category
github.com/issue9/mux/v6
internal
tree
package
6.2.0
Repository:
https://github.com/issue9/mux.git
Documentation:
pkg.go.dev
Overview
Versions
9
Dependencies
10
Dependents
2
Files
646 SLOC
#
Functions
New
No description provided by the author
#
Variables
Methods
Methods 所有支持请求方法.
#
Structs
Node
Node 表示路由中的节点.
Tree
Tree 以树节点的形式保存的路由 多段路由项,会提取其中的相同的内容组成树状结构的节点。 比如以下路由项: /posts/{id}/author /posts/{id}/author/emails /posts/{id}/author/profile /posts/1/author 会被转换成以下结构 /posts | +---- 1/author | +---- {id}/author | +---- /profile | +---- /emails.
#
Type aliases
HandlerFunc
HandlerFunc 路由处理的函数类型.