Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 的应用

Awesome Lists containing this project

README

        

# GoFrame websocket 的实现

## 实现功能

- 全局广播
- 单个房间推送
- 单个用户推送
- 单个客户端推送

## 客户端发送数据格式

```json
{
"e": "event_name",
"d": {
"key": "value"
}
}
```