grafana/pkg/middleware
Arve Knudsen 3d3a7cbba8
Chore: Fix staticcheck issues (#28860)
* Chore: Fix issues reported by staticcheck

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Undo changes

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Chore: Fix issues reported by staticcheck

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix test

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix test

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 13:07:06 +01:00
..
auth_proxy Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
auth_proxy_test.go Auth proxy: Ignore stale cache entries (#23979) 2020-06-17 18:43:16 +02:00
auth_proxy.go Auth proxy: Ignore stale cache entries (#23979) 2020-06-17 18:43:16 +02:00
auth_test.go Auth: Should redirect to login when anonymous enabled and URL with different org than anonymous specified (#28158) 2020-10-23 16:34:35 +02:00
auth.go Auth: Should redirect to login when anonymous enabled and URL with different org than anonymous specified (#28158) 2020-10-23 16:34:35 +02:00
cookie.go Auth: Remove trailing / in cookies' path (#22265) (#22265) 2020-04-06 17:56:19 +03:00
dashboard_redirect_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
dashboard_redirect.go Dashboard: Redirects for old edit & view panel urls (#25653) 2020-06-17 12:51:41 +02:00
headers.go chore: avoid aliasing models in middleware (#22484) 2020-02-28 12:50:58 +01:00
logger.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
middleware_basic_auth_test.go pkg/util: Check errors (#19832) 2019-10-23 10:40:12 +02:00
middleware_test.go gtime: Add ParseDuration function (#28525) 2020-11-02 19:26:19 +01:00
middleware.go Settings: Rename constants/variables to follow Go naming standards (#28002) 2020-10-02 15:45:45 +02:00
org_redirect_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
org_redirect.go Auth: Should redirect to login when anonymous enabled and URL with different org than anonymous specified (#28158) 2020-10-23 16:34:35 +02:00
perf.go chore: avoid aliasing models in middleware (#22484) 2020-02-28 12:50:58 +01:00
quota_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
quota.go chore: avoid aliasing models in middleware (#22484) 2020-02-28 12:50:58 +01:00
recovery_test.go Settings: Rename constants/variables to follow Go naming standards (#28002) 2020-10-02 15:45:45 +02:00
recovery.go Settings: Rename constants/variables to follow Go naming standards (#28002) 2020-10-02 15:45:45 +02:00
render_auth.go chore: avoid aliasing models in middleware (#22484) 2020-02-28 12:50:58 +01:00
request_metrics.go Instrumentation: Add histogram for request duration (#28364) 2020-10-20 09:44:38 +02:00
request_tracing.go mark >=400 responses as error 2017-09-18 11:08:58 +02:00
testing.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
util.go Backend Plugins: Support handling of streaming resource response (#22580) 2020-03-06 01:44:07 +07:00
validate_host.go chore: avoid aliasing models in middleware (#22484) 2020-02-28 12:50:58 +01:00