Need help with GoRealtimeWeb?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

SimonWaldherr
212 Stars 28 Forks MIT License 15 Commits 0 Opened issues

Description

Examples how to write realtime web applications in Golang

Services available

!
?

Need anything else?

Contributors list

# 43,408
golang
React
ffmpeg
micro-l...
13 commits
# 24,296
HTML
Shell
Webpack
vuejs
1 commit

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)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.