-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
support run HTTP server with specific net.Listener #2023
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2023 +/- ##
==========================================
+ Coverage 98.92% 98.92% +<.01%
==========================================
Files 40 40
Lines 2224 2229 +5
==========================================
+ Hits 2200 2205 +5
Misses 12 12
Partials 12 12
Continue to review full report at Codecov.
|
is this PR work? |
@thinkerou Need your review. |
I have already update the debug info. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We have to use Gin with a special listener in some situations.
For example, if we want to upgrade Gin server graceful, we may use the third party lib to support this feature such as tableflip
Here's some example code