Skip to content

Commit bdaa368

Browse files
authored
Merge pull request #725 from panjf2000/dev
patch: v2.9.3
2 parents 75d6730 + 871ffb5 commit bdaa368

File tree

3 files changed

+46
-34
lines changed

3 files changed

+46
-34
lines changed

README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -236,25 +236,31 @@ Please read the [Contributing Guidelines](CONTRIBUTING.md) before opening a PR a
236236
- [gnet: 一个轻量级且高性能的 Golang 网络库](https://strikefreedom.top/go-event-loop-networking-library-gnet)
237237
- [最快的 Go 网络框架 gnet 来啦!](https://strikefreedom.top/releasing-gnet-v1-with-techempower)
238238

239-
# 💰 Backers
240-
241-
Support us with a monthly donation and help us continue our activities.
242-
243-
<a href="https://opencollective.com/gnet#backers" target="_blank"><img src="https://opencollective.com/gnet/backers.svg"></a>
244-
245-
# 💎 Sponsors
246-
247-
Become a bronze sponsor with a monthly donation of $10 and get your logo on our README on GitHub.
248-
249-
<a href="https://opencollective.com/gnet#sponsors" target="_blank"><img src="https://opencollective.com/gnet/sponsors.svg"></a>
250-
251239
# ☕️ Buy me a coffee
252240

253241
> Please be sure to leave your name, GitHub account, or other social media accounts when you donate by the following means so that I can add it to the list of donors as a token of my appreciation.
254242
255-
<img src="https://raw.githubusercontent.com/panjf2000/illustrations/master/payments/WeChatPay.JPG" width="250" align="middle"/>&nbsp;&nbsp;
256-
<img src="https://raw.githubusercontent.com/panjf2000/illustrations/master/payments/AliPay.JPG" width="250" align="middle"/>&nbsp;&nbsp;
257-
<a href="https://www.paypal.me/R136a1X" target="_blank"><img src="https://raw.githubusercontent.com/panjf2000/illustrations/master/payments/PayPal.JPG" width="250" align="middle"/></a>&nbsp;&nbsp;
243+
<table>
244+
<tbody>
245+
<tr>
246+
<td align="center" valign="middle">
247+
<a target="_blank" href="https://buymeacoffee.com/panjf2000">
248+
<img src="https://res.strikefreedom.top/static_res/logos/bmc_qr.png" width="250" alt="By me coffee" />
249+
</a>
250+
</td>
251+
<td align="center" valign="middle">
252+
<a target="_blank" href="https://www.patreon.com/panjf2000">
253+
<img src="https://res.strikefreedom.top/static_res/logos/patreon_logo.png" width="250" alt="Patreon" />
254+
</a>
255+
</td>
256+
<td align="center" valign="middle">
257+
<a target="_blank" href="https://opencollective.com/panjf2000">
258+
<img src="https://res.strikefreedom.top/static_res/logos/open-collective-logo.png" width="250" alt="OpenCollective" />
259+
</a>
260+
</td>
261+
</tr>
262+
</tbody>
263+
</table>
258264

259265
# 🔑 JetBrains OS licenses
260266

README_ZH.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -236,25 +236,31 @@ Test duration : 15s
236236
- [gnet: 一个轻量级且高性能的 Golang 网络库](https://strikefreedom.top/go-event-loop-networking-library-gnet)
237237
- [最快的 Go 网络框架 gnet 来啦!](https://strikefreedom.top/releasing-gnet-v1-with-techempower)
238238

239-
# 💰 支持
240-
241-
如果有意向,可以通过每个月定量的少许捐赠来支持这个项目。
242-
243-
<a href="https://opencollective.com/gnet#backers" target="_blank"><img src="https://opencollective.com/gnet/backers.svg"></a>
244-
245-
# 💎 赞助
246-
247-
每月定量捐赠 10 刀即可成为本项目的赞助者,届时您的 logo 或者 link 可以展示在本项目的 README 上。
248-
249-
<a href="https://opencollective.com/gnet#sponsors" target="_blank"><img src="https://opencollective.com/gnet/sponsors.svg"></a>
250-
251239
# ☕️ 打赏
252240

253241
> 当您通过以下方式进行捐赠时,请务必留下姓名、GitHub 账号或其他社交媒体账号,以便我将其添加到捐赠者名单中,以表谢意。
254242
255-
<img src="https://raw.githubusercontent.com/panjf2000/illustrations/master/payments/WeChatPay.JPG" width="250" align="middle"/>&nbsp;&nbsp;
256-
<img src="https://raw.githubusercontent.com/panjf2000/illustrations/master/payments/AliPay.JPG" width="250" align="middle"/>&nbsp;&nbsp;
257-
<a href="https://www.paypal.me/R136a1X" target="_blank"><img src="https://raw.githubusercontent.com/panjf2000/illustrations/master/payments/PayPal.JPG" width="250" align="middle"/></a>&nbsp;&nbsp;
243+
<table>
244+
<tbody>
245+
<tr>
246+
<td align="center" valign="middle">
247+
<a target="_blank" href="https://buymeacoffee.com/panjf2000">
248+
<img src="https://res.strikefreedom.top/static_res/logos/bmc_qr.png" width="250" alt="By me coffee" />
249+
</a>
250+
</td>
251+
<td align="center" valign="middle">
252+
<a target="_blank" href="https://www.patreon.com/panjf2000">
253+
<img src="https://res.strikefreedom.top/static_res/logos/patreon_logo.png" width="250" alt="Patreon" />
254+
</a>
255+
</td>
256+
<td align="center" valign="middle">
257+
<a target="_blank" href="https://opencollective.com/panjf2000">
258+
<img src="https://res.strikefreedom.top/static_res/logos/open-collective-logo.png" width="250" alt="OpenCollective" />
259+
</a>
260+
</td>
261+
</tr>
262+
</tbody>
263+
</table>
258264

259265
# 🔑 JetBrains 开源证书支持
260266

gnet.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ type Reader interface {
231231
io.Reader
232232
io.WriterTo
233233

234-
// Next returns the next n bytes and advance the inbound buffer.
234+
// Next returns the next n bytes and advances the inbound buffer.
235235
// buf must not be used in a new goroutine. Otherwise, use Read instead.
236236
//
237237
// If the number of the available bytes is less than requested,
@@ -499,9 +499,9 @@ type (
499499
OnTick() (delay time.Duration, action Action)
500500
}
501501

502-
// BuiltinEventEngine is a built-in implementation of EventHandler which sets up
503-
// each method with a default implementation, you can compose it with your own
504-
// implementation of EventHandler when you don't want to implement all methods in EventHandler.
502+
// BuiltinEventEngine is a built-in implementation of EventHandler which feeds
503+
// each method with an empty implementation, you can embed it within your custom
504+
// struct when you don't intend to implement the entire EventHandler.
505505
BuiltinEventEngine struct{}
506506
)
507507

0 commit comments

Comments
 (0)