Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http middleware #21

Merged
merged 8 commits into from
Apr 1, 2024
Merged

Http middleware #21

merged 8 commits into from
Apr 1, 2024

Conversation

veqryn
Copy link
Owner

@veqryn veqryn commented Apr 1, 2024

Create an http middleware for collecting log attributes from down-chain and final handlers.

@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2024

Codecov Report

Attention: Patch coverage is 87.39496% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 92.81%. Comparing base (6bdf1a0) to head (6601b62).

Files Patch % Lines
internal/test/handler.go 67.85% 7 Missing and 2 partials ⚠️
http/middleware.go 90.90% 4 Missing and 2 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   93.86%   92.81%   -1.06%     
==========================================
  Files           6        9       +3     
  Lines         212      306      +94     
==========================================
+ Hits          199      284      +85     
- Misses          9       16       +7     
- Partials        4        6       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@veqryn veqryn merged commit e44c955 into main Apr 1, 2024
13 checks passed
@veqryn veqryn deleted the http-middleware branch April 1, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants