prometheus-fail2ban-exporter/server
Hector 3cff8ccd64 refactor: rewrite auth handler code (!89)
* Rewrite the code handling basic auth to make it easier to extend for other types of auth.
* The behaviour of the existing code is maintained.
* No changes to how basic auth is configured from a user's perspective.

https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/89
2023-06-21 10:31:33 +00:00
..
middleware_test.go refactor: rewrite auth handler code (!89) 2023-06-21 10:31:33 +00:00
middleware.go refactor: rewrite auth handler code (!89) 2023-06-21 10:31:33 +00:00