Skip to content

Http middleware#21

Merged
veqryn merged 8 commits intomainfrom
http-middleware
Apr 1, 2024
Merged

Http middleware#21
veqryn merged 8 commits intomainfrom
http-middleware

Conversation

@veqryn
Copy link
Copy Markdown
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
Copy Markdown

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 force-pushed the http-middleware branch from 9bebb1d to 6601b62 Compare April 1, 2024 06:59
@veqryn veqryn merged commit e44c955 into main Apr 1, 2024
@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