GoRealtimeWeb

Examples how to write realtime web applications in Golang

  • 所有者: SimonWaldherr/GoRealtimeWeb
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

GoRealtimeWeb

Flattr donate button

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

  1. install dependencies go get golang.org/x/net/websocket
  2. run the go script go run realtimeweb.go
  3. open http://localhost:8000 and choose an example
  4. connect to localhost port 8001 via telnet (telnet localhost 8001)
  5. 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

MIT (see LICENSE file)

主要指标

概览
名称与所有者SimonWaldherr/GoRealtimeWeb
主编程语言Go
编程语言Go (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2014-06-22 14:57:12
推送于2017-09-18 19:55:46
最后一次提交2017-09-18 21:55:45
发布数0
用户参与
星数220
关注者数9
派生数29
提交数15
已启用问题?
问题数0
打开的问题数0
拉请求数1
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?