https://github.com/smallruraldog/gf-websocket
GoFrame websocket 的应用
https://github.com/smallruraldog/gf-websocket
go goframe websocket
Last synced: 12 months ago
JSON representation
GoFrame websocket 的应用
- Host: GitHub
- URL: https://github.com/smallruraldog/gf-websocket
- Owner: SmallRuralDog
- Created: 2022-04-20T08:14:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T03:08:35.000Z (over 3 years ago)
- Last Synced: 2025-04-27T13:37:20.197Z (about 1 year ago)
- Topics: go, goframe, websocket
- Homepage:
- Size: 15.6 KB
- Stars: 43
- Watchers: 2
- 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"
}
}
```