https://github.com/zhan3333/go-udp-chat
Goalng UDP 协议构建实时聊天室
https://github.com/zhan3333/go-udp-chat
Last synced: 11 months ago
JSON representation
Goalng UDP 协议构建实时聊天室
- Host: GitHub
- URL: https://github.com/zhan3333/go-udp-chat
- Owner: zhan3333
- Created: 2020-04-17T06:18:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-09T09:51:48.000Z (over 5 years ago)
- Last Synced: 2025-04-14T00:50:05.875Z (about 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang UDP 聊天室
本项目通过 UDP 通信协议, 建立客户端与服务端之间的通信.
## 运行流程
- 运行服务端
```shell script
cd server
go run main.go
```
- 运行客户端
```shell script
cd client
go run main.go
```
## 功能
- [x] client 在 channel 中群发消息
- [x] channel 中其它 client 接收消息
- [] client 自定义 channel
- [] 心跳检测 client 是否在线
- [] client 切换当前 channel
- [] client 重名检查