https://github.com/donnol/server_push
使用golang实现的短轮询,长轮询和websocket示例
https://github.com/donnol/server_push
Last synced: 8 months ago
JSON representation
使用golang实现的短轮询,长轮询和websocket示例
- Host: GitHub
- URL: https://github.com/donnol/server_push
- Owner: donnol
- Created: 2016-12-19T09:31:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-19T09:33:51.000Z (almost 9 years ago)
- Last Synced: 2025-01-24T20:20:39.945Z (10 months ago)
- Language: Go
- Size: 31.3 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# server_push
使用golang实现的短轮询,长轮询和websocket示例
使用:
短轮询 -- cd ajax_poll | go run main.go
长轮询 -- cd long_poll | go run main.go
websocket -- cd websocket | go run main.go