mirror of
https://github.com/grafana/grafana.git
synced 2025-01-18 12:33:37 -06:00
3ca3a59079
* pkg/web: store http.Handler internally * pkg/web: remove injection Removes any injection code from pkg/web. It already was no longer functional, as we already only injected into `http.Handler`, meaning we only inject ctx.Req and ctx.Resp. Any other types (*Context, *ReqContext) were already accessed using the http.Request.Context.Value() method. * *: remove type mappings Removes any call to the previously removed TypeMapper, as those were non-functional already. * pkg/web: remove Context.Invoke was no longer used outside of pkg/web and also no longer functional |
||
---|---|---|
.. | ||
cookies | ||
auth_test.go | ||
auth.go | ||
csp.go | ||
csrf_test.go | ||
csrf.go | ||
dashboard_redirect_test.go | ||
dashboard_redirect.go | ||
gziper.go | ||
logger_test.go | ||
logger.go | ||
middleware_basic_auth_test.go | ||
middleware_jwt_auth_test.go | ||
middleware_test.go | ||
middleware.go | ||
org_redirect_test.go | ||
org_redirect.go | ||
quota_test.go | ||
quota.go | ||
rate_limit_test.go | ||
rate_limit.go | ||
recovery_test.go | ||
recovery.go | ||
request_metrics.go | ||
request_tracing.go | ||
testing.go | ||
validate_host.go |