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.7k stars 1.04k forks source link

feat: implement gnet on Windows #461

Closed panjf2000 closed 1 year ago

panjf2000 commented 1 year ago

Fixes #339

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 80.93% and project coverage change: +0.80 :tada:

Comparison is base (2e95df1) 76.06% compared to head (93a1d6b) 76.86%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #461 +/- ## ========================================== + Coverage 76.06% 76.86% +0.80% ========================================== Files 15 21 +6 Lines 1508 2330 +822 ========================================== + Hits 1147 1791 +644 - Misses 279 411 +132 - Partials 82 128 +46 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `76.86% <80.93%> (+0.80%)` | :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. | [Impacted Files](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan) | Coverage Δ | | |---|---|---| | [acceptor\_unix.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-YWNjZXB0b3JfdW5peC5nbw==) | `42.37% <ø> (ø)` | | | [eventloop\_unix.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-ZXZlbnRsb29wX3VuaXguZ28=) | `71.90% <ø> (ø)` | | | [listener\_unix.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-bGlzdGVuZXJfdW5peC5nbw==) | `100.00% <ø> (ø)` | | | [connection\_unix.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-Y29ubmVjdGlvbl91bml4Lmdv) | `72.78% <50.00%> (ø)` | | | [connection\_windows.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-Y29ubmVjdGlvbl93aW5kb3dzLmdv) | `64.52% <64.52%> (ø)` | | | [client\_windows.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-Y2xpZW50X3dpbmRvd3MuZ28=) | `79.45% <79.45%> (ø)` | | | [listener\_windows.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-bGlzdGVuZXJfd2luZG93cy5nbw==) | `87.93% <87.93%> (ø)` | | | [reactor\_default\_bsd.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-cmVhY3Rvcl9kZWZhdWx0X2JzZC5nbw==) | `87.32% <88.46%> (-3.16%)` | :arrow_down: | | [reactor\_default\_linux.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-cmVhY3Rvcl9kZWZhdWx0X2xpbnV4Lmdv) | `83.14% <88.46%> (-2.04%)` | :arrow_down: | | [eventloop\_windows.go](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan#diff-ZXZlbnRsb29wX3dpbmRvd3MuZ28=) | `89.43% <89.43%> (ø)` | | | ... and [7 more](https://app.codecov.io/gh/panjf2000/gnet/pull/461?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andy+Pan) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.