Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCompile ¶
func AddCompile(key, value string, middle ...middleware.Middleware)
AddCompile 设置路由规则
func AddCompileGroup ¶
func AddCompileGroup(name string, rules map[string]string, middle []middleware.Middleware)
AddCompileGroup 设置路由分组规则,用来适配局部中间件调用
func ParseUrlPath ¶
func ParseUrlPath(urlPath string) (string, string, []string, []middleware.Middleware)
ParseUrlPath 解析请求地址 返回cName[struct名称或别名] method[方法名] []参数
Types ¶
Click to show internal directories.
Click to hide internal directories.