panjf2000 / gnet

🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.
https://gnet.host
Apache License 2.0
9.69k stars 1.04k forks source link

feat: enable OnOpen for connected UDP socket #554

Closed panjf2000 closed 8 months ago

panjf2000 commented 8 months ago

Fixes #549

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 96.77419% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 79.08%. Comparing base (54f81b6) to head (9cf2f2d).

Files Patch % Lines
eventloop_unix.go 83.33% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #554 +/- ## ========================================== + Coverage 79.00% 79.08% +0.08% ========================================== Files 25 25 Lines 2091 2109 +18 ========================================== + Hits 1652 1668 +16 - Misses 304 305 +1 - Partials 135 136 +1 ``` | [Flag](https://app.codecov.io/gh/panjf2000/gnet/pull/554/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/panjf2000/gnet/pull/554/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan) | `79.08% <96.77%> (+0.08%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.