Proyectos
Ver en GitHub
SimonWaldherr/GoRealtimeWeb
Acerca de
Examples how to write realtime web applications in Golang
Aprendizaje y educaciónCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalGoRealtimeWeb
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
Explorar proyectos relacionados
Cargando…
