GoRealtimeWeb

Examples how to write realtime web applications in Golang

  • Owner: SimonWaldherr/GoRealtimeWeb
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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)

Main metrics

Overview
Name With OwnerSimonWaldherr/GoRealtimeWeb
Primary LanguageGo
Program languageGo (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2014-06-22 14:57:12
Pushed At2017-09-18 19:55:46
Last Commit At2017-09-18 21:55:45
Release Count0
用户参与
Stargazers Count220
Watchers Count9
Fork Count29
Commits Count15
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private