// ContextParams returns the httprouter.Params for the context. func ContextParams(context *ctx.Context) httprouter.Params { return context.Get(paramsContextKey).(httprouter.Params) }
// ContextCriteria returns the criteria for the supplied context. func ContextCriteria(context *ctx.Context) *Criteria { return context.Get(criteriaContextKey).(*Criteria) }