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

Decode message body before printing on console (tap,sub) #103

Merged
merged 11 commits into from
Sep 22, 2024

Conversation

jandelgado
Copy link
Owner

@jandelgado jandelgado commented Sep 7, 2024

  • Uncompress the message body (according to the ContentEncoding property) if necessary before printing on the console. gzip, bzip2, deflate and zstd are supported.
  • various refactorings
  • use go 1.23

@coveralls
Copy link

coveralls commented Sep 7, 2024

Pull Request Test Coverage Report for Build 10983662797

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 133 of 144 (92.36%) changed or added relevant lines in 13 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 87.702%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/rabtap/decompression.go 37 39 94.87%
cmd/rabtap/main.go 36 38 94.74%
cmd/rabtap/message_printer.go 10 12 83.33%
cmd/rabtap/subscribe.go 21 23 91.3%
cmd/rabtap/json_message_formatter.go 4 7 57.14%
Totals Coverage Status
Change from base Build 10727467260: 0.2%
Covered Lines: 2717
Relevant Lines: 3098

💛 - Coveralls

@jandelgado jandelgado marked this pull request as ready for review September 22, 2024 19:09
@jandelgado jandelgado merged commit 4fad502 into master Sep 22, 2024
2 checks passed
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