Example #1
0
func (p ContextProvider) GetOk(r *http.Request, key interface{}) (interface{}, bool) {
	return context.GetOk(r, key)
}
Example #2
0
func (p ContextProvider) Has(r *http.Request, key interface{}) bool {
	_, ok := context.GetOk(r, key)
	return ok
}