Skip to content

A Go application providing a push server using a pluggable client transports (such as sockjs, socketio, SSE) and a pluggable consumer transport (such as rabbitmq, sqs, redis) [under development]

License

snormore/go.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go.iO - a Go push server

A Go application providing a push server using a pluggable client transports (such as sockjs, socketio, SSE) and a pluggable consumer transport (such as rabbitmq, sqs, redis) [under development]

Go.iO Communication Sequence Diagram Go.iO Node Sequence Diagram

Bootstrap

Download and install the latest Vagrant installer from http://downloads.vagrantup.com/

wget wget http://files.vagrantup.com/packages/64e360814c3ad960d810456add977fd4c7d47ce6/Vagrant.dmg

Now clone the repo and bootstrap your workspace

git clone git@github.com:snormore/go.io.git
cd go.io
vagrant up
vagrant ssh
cd /u/apps/go.io
source sbin/init-env.sh
sbin/go-get.sh

If you use SublimeText as your editor, check out the plugin https://github.com/DisposaBoy/GoSublime

Troubleshooting

If you run into this error on sbin/go-get.sh or a go get

go install runtime: open /usr/lib/go/pkg/linux_amd64/runtime.a: permission denied

then you are possibly seeing this issue http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658421 and you can solve it by executing

find /usr/lib/go/pkg -type f -exec touch {} +

Also, Vagrant 1.1.5 has an issue with the reload command, which should be fixed soon, but if you run into this issue during vagrant reload, check for an update or install a previous version.

Building

sh sbin/build.sh

Running

sh sbin/run.sh

Building and running

sh sbin/build-and-run.sh

TODO

  • Consider an authentication strategy for Javascript clients connecting to GoNode, perhaps proxied from the master WebNode.

About

A Go application providing a push server using a pluggable client transports (such as sockjs, socketio, SSE) and a pluggable consumer transport (such as rabbitmq, sqs, redis) [under development]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published