hertz
hertz copied to clipboard
feat(route): provide api for customize engine.ServeHTTP
What type of PR is this?
feat
Check the PR title.
- [x] This PR title match the format: <type>(optional scope): <description>
- [x] The description of this PR title is user-oriented and clear enough for others to understand.
(Optional) Translate the PR title into Chinese.
路由层暴露 API,提供自定义 ServeHTTP 逻辑
(Optional) More detail description for this PR(en: English/zh: Chinese).
en: This api provides a more flexible way to integrate hertz - build applications based on Hertz's protocol layer and network layer zh(optional): 提供一个更加灵活集成hertz的方式:基于hertz的协议层和网络层构建应用
Which issue(s) this PR fixes:
None
Codecov Report
Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
Project coverage is 72.53%. Comparing base (
aa86644) to head (6fea1cb). Report is 330 commits behind head on develop.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| pkg/route/engine.go | 71.42% | 1 Missing and 1 partial :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## develop #678 +/- ##
========================================
Coverage 72.52% 72.53%
========================================
Files 96 96
Lines 9392 9399 +7
========================================
+ Hits 6812 6818 +6
Misses 2151 2151
- Partials 429 430 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.