项目
在 GitHub 查看
SimonWaldherr/GoRealtimeWeb
关于
Examples how to write realtime web applications in Golang
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GoRealtimeWeb
Examples how to write realtime web applications in Golang
This repository contains examples for the following real-time implementations:
Most of the long polling systems close the connection after each transmission from the server, with the help of oboe.js this example can handle multiple messages from the server in realtime without closing/reconnecting.
howto
- install dependencies
go get golang.org/x/net/websocket - run the go script
go run realtimeweb.go - open http://localhost:8000 and choose an example
- connect to localhost port 8001 via telnet (
telnet localhost 8001) - have fun
info
for more informations about real-time technologies you can read this excelent stackoverflow article (AJAX vs Long-Polling vs SSE vs Websockets vs Comet).
license
探索相关项目
加载中…
