Example #1
0
func setVars(r *http.Request, val interface{}) {
	context.Set(r, varsKey, val)
}
Example #2
0
func setCurrentRoute(r *http.Request, val interface{}) {
	context.Set(r, routeKey, val)
}
Example #3
0
func (p ContextProvider) Set(r *http.Request, key, val interface{}) {
	context.Set(r, key, val)
}