komuw / ong

ong, is a Go http toolkit.
MIT License
16 stars 4 forks source link

Move middleware.ClientIPstrategy to config.ClientIPstrategy #386

Closed komuw closed 9 months ago

codecov-commenter commented 9 months ago

Codecov Report

Patch coverage: 62.06% and project coverage change: -0.21% :warning:

Comparison is base (cccd396) 73.77% compared to head (c37b586) 73.56%. Report is 1 commits behind head on main.

:exclamation: Current head c37b586 differs from pull request most recent head 7c061dd. Consider uploading reports for the commit 7c061dd to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #386 +/- ## ========================================== - Coverage 73.77% 73.56% -0.21% ========================================== Files 48 48 Lines 5651 5671 +20 ========================================== + Hits 4169 4172 +3 - Misses 1194 1206 +12 - Partials 288 293 +5 ``` | [Files Changed](https://app.codecov.io/gh/komuw/ong/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Komu+Wairagu) | Coverage Δ | | |---|---|---| | [internal/clientip/client\_ip.go](https://app.codecov.io/gh/komuw/ong/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Komu+Wairagu#diff-aW50ZXJuYWwvY2xpZW50aXAvY2xpZW50X2lwLmdv) | `72.48% <0.00%> (-0.64%)` | :arrow_down: | | [middleware/cors.go](https://app.codecov.io/gh/komuw/ong/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Komu+Wairagu#diff-bWlkZGxld2FyZS9jb3JzLmdv) | `92.30% <40.00%> (-2.70%)` | :arrow_down: | | [config/config.go](https://app.codecov.io/gh/komuw/ong/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Komu+Wairagu#diff-Y29uZmlnL2NvbmZpZy5nbw==) | `64.70% <70.00%> (+0.12%)` | :arrow_up: | | [middleware/client\_ip.go](https://app.codecov.io/gh/komuw/ong/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Komu+Wairagu#diff-bWlkZGxld2FyZS9jbGllbnRfaXAuZ28=) | `100.00% <100.00%> (ø)` | | | [middleware/middleware.go](https://app.codecov.io/gh/komuw/ong/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Komu+Wairagu#diff-bWlkZGxld2FyZS9taWRkbGV3YXJlLmdv) | `100.00% <100.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/komuw/ong/pull/386/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Komu+Wairagu)

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