示例#1
0
文件: mux.go 项目: thanzen/hydra
func setCurrentRoute(r *http.Request, val interface{}) {
	context.Set(r, routeKey, val)
}
示例#2
0
文件: mux.go 项目: thanzen/hydra
func setVars(r *http.Request, val interface{}) {
	context.Set(r, varsKey, val)
}