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 (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-11T03:08:35.000Z (about 2 years ago)
- Last Synced: 2024-08-03T09:07:25.836Z (4 months ago)
- Topics: go, goframe, websocket
- Homepage:
- Size: 15.6 KB
- Stars: 39
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
- awesome-gf - gf-websocket - websocket示例 (StandAlone Projects)
README
# GoFrame websocket 的实现
## 实现功能
- 全局广播
- 单个房间推送
- 单个用户推送
- 单个客户端推送## 客户端发送数据格式
```json
{
"e": "event_name",
"d": {
"key": "value"
}
}
```