# TooGoframe **Repository Path**: hackym/too-goframe ## Basic Information - **Project Name**: TooGoframe - **Description**: goframe 实现 web & websocket ,一个非常好的基础demo,适合初学者入门参考练习,仅供学习,切勿商业 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-04 - **Last Updated**: 2025-11-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README GoFrame websocket 的实现 =========================== ## 介绍 基于GoFrame的websocket , 模板页面管理 ## 实现功能 - 全局广播 - 单个房间推送 - 单个用户推送 - 单个客户端推送 ## 客户端发送数据格式 ```json { "e": "event_name", "d": { "key": "value" } } ``` ## 计划 1. 添加用户管理 2. 添加房间管理 3. 添加消息管理 4. 加入房间 5. 离开房间 6. 发送消息 7. 接收消息 8. 在线列表 ``` ├── api ├── internal │ ├── cmd │ ├── consts │ ├── controller │ ├── model │ │ └── entity │ └── service │ └── internal │ ├── dao │ └── do ├── manifest ├── resource ├── utility ├── go.mod └── main.go ```