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

[Feature]: 有没有详细的教程 新手根本不知道咋用 #537

Closed mynameiscuining closed 8 months ago

mynameiscuining commented 8 months ago

Description of new feature

[Feature]: 有没有详细的教程 新手根本不知道咋用

Scenarios for new feature

[Feature]: 有没有详细的教程 新手根本不知道咋用

Breaking changes or not?

Yes

Code snippets (optional)

No response

Alternatives for new feature

None.

Additional context (optional)

None.

mynameiscuining commented 8 months ago

参考下这个 https://github.com/aceld/zinx

panjf2000 commented 8 months ago

https://gnet.host/docs/

gnet 本身是一个轻量级的框架,API 不多,也很精简,如果以前有过 libevent/libuv/netty 这一类网络框架的使用经验的话应该很容易上手。也可以参考我们的示例程序