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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?