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

wire: remove FrameParser interface, expose FrameParser struct #4284

Merged
merged 1 commit into from Jan 29, 2024

Conversation

marten-seemann
Copy link
Member

Instead, expose the FrameParser struct. This allows us to embed it directly into the connection struct, avoiding a pointer indirection.

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (9b83ac2) 84.10% compared to head (101e293) 84.11%.
Report is 3 commits behind head on master.

Files Patch % Lines
connection.go 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4284   +/-   ##
=======================================
  Coverage   84.10%   84.11%           
=======================================
  Files         150      150           
  Lines       15424    15427    +3     
=======================================
+ Hits        12972    12975    +3     
  Misses       1950     1950           
  Partials      502      502           

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

Instead, expose the FrameParser struct. This allows us to embed it
directly into the connection struct, avoiding a pointer indirection.
@marten-seemann marten-seemann force-pushed the wire-remove-frame-parser-interface branch from 8b43537 to 101e293 Compare January 29, 2024 05:58
@marten-seemann marten-seemann changed the title wire: remove unused FrameParser interface wire: remove FrameParser interface, expose FrameParser struct Jan 29, 2024
@marten-seemann marten-seemann merged commit be4838b into master Jan 29, 2024
34 checks passed
@marten-seemann marten-seemann deleted the wire-remove-frame-parser-interface branch February 8, 2024 02:12
mgjeong pushed a commit to mgjeong/quic-go that referenced this pull request Feb 13, 2024
…o#4284)

Instead, expose the FrameParser struct. This allows us to embed it
directly into the connection struct, avoiding a pointer indirection.
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.

None yet

1 participant