teler-sh / teler-waf

teler-waf is a Go HTTP middleware that protects local web services from OWASP Top 10 threats, known vulnerabilities, malicious actors, botnets, unwanted crawlers, and brute force attacks.
https://test.teler.sh
Apache License 2.0
340 stars 30 forks source link

feat(teler): add `CaddyHandler{,FuncWithNext}` #199

Closed dwisiswant0 closed 2 months ago

dwisiswant0 commented 2 months ago

IMPORTANT: Please do not create a PR without creating an issue first!

(Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request).

Summary

Adds

Proposed of changes

This PR fixes/implements the following bugs/features:

How has this been tested?

Proof:

Closing issues

Fixes #

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 53.33333% with 7 lines in your changes missing coverage. Please review.

Project coverage is 78.27%. Comparing base (5974890) to head (192180e). Report is 3 commits behind head on master.

Files Patch % Lines
handler.go 53.33% 5 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #199 +/- ## ========================================== - Coverage 78.67% 78.27% -0.41% ========================================== Files 12 12 Lines 933 948 +15 ========================================== + Hits 734 742 +8 - Misses 132 137 +5 - Partials 67 69 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.