Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smallruraldog/gf-websocket
GoFrame websocket 的应用
https://github.com/smallruraldog/gf-websocket
go goframe websocket
Last synced: about 1 month ago
JSON representation
GoFrame websocket 的应用
- Host: GitHub
- URL: https://github.com/smallruraldog/gf-websocket
- Owner: SmallRuralDog
- Created: 2022-04-20T08:14:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T03:08:35.000Z (over 2 years ago)
- Last Synced: 2024-11-11T08:40:34.779Z (3 months ago)
- Topics: go, goframe, websocket
- Homepage:
- Size: 15.6 KB
- Stars: 40
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# GoFrame websocket 的实现
## 实现功能
- 全局广播
- 单个房间推送
- 单个用户推送
- 单个客户端推送## 客户端发送数据格式
```json
{
"e": "event_name",
"d": {
"key": "value"
}
}
```