zishang520/socket.io
关于
Go 版 Socket.IO——高性能、功能完整的实现,支持 Socket.IO v4+。现在就开启实时通信之旅吧!🚀
学习与教育实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Socket.IO for Golang
A modern, idiomatic Go implementation of Socket.IO, designed for real-time, bidirectional communication over WebSockets and other transports.
⬆️ Upgrade Guide
If you are upgrading from v1 or v2 of this library, please refer to the Upgrade Guide for detailed instructions, including package replacements and migration steps.
🚀 Getting Started
Check out the official documentation to get started, including examples, API references, and guides.
Install a specific module:
go get github.com/zishang520/socket.io/servers/socket/v3
Install the PostgreSQL adapter:
go get github.com/zishang520/socket.io/adapters/postgres/v3
Install the Valkey adapter:
go get github.com/zishang520/socket.io/adapters/valkey/v3
Install the MongoDB adapter:
go get github.com/zishang520/socket.io/adapters/mongo/v3
❓ Questions & Support
The Issues section is only for confirmed bugs or feature requests.
For general help or implementation questions:
- Read the documentation
- Ask in Discussions → Q&A
🔒 Security
If you discover a vulnerability or security issue, do not file a public issue. Instead, please follow the steps in our Security Policy.
🛠 Contributing
We welcome contributions of all kinds! To report bugs, suggest features, or submit pull requests:
- Please read our Contributing Guide for best practices
- Ensure your changes are well-tested and formatted with
make fmt - Open an issue or discussion before starting major changes
Thanks to all contributors who make this project better ❤️
📦 Modules
This project is a monorepo containing the following Go modules:
Go Modules
Root
| State | Go Module | Description |
|---|---|---|
github.com/zishang520/socket.io/v3 |
Root module with shared interfaces, types, and base definitions |
Servers
Clients
Parsers
Adapters
🧾 License
This project is licensed under the MIT License.
Sponsors
CDN acceleration and security protection for this project are sponsored by Tencent EdgeOne.
Best Asian CDN, Edge, and Secure Solutions - Tencent EdgeOne
探索相关项目
加载中…